Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[phoenix-dev] Addition to ProjectInfoValues class

I discovered that if you need to iterate over the fields in the ProjectInfoValues class without knowing ahead of time what they are, it's pretty hard. I added a function that will allow you to do that:

   function fields() {
       $fields = array();
       foreach($this->rows as $row) {
           $fields[] = $row['SubKey'];
       }
       return $fields;
   }

Pretty simple, but quite helpful.  Shall we add this to the phoenix cvs?

Karl


Back to the top