Skip to main content

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

Sounds good to me, go ahead and commit this to Phoenix CVS

+1

Nathan Gervais - nathan@xxxxxxxxxxx
Web Developer 
The Eclipse Foundation
 
 

-----Original Message-----
From: phoenix-dev-bounces@xxxxxxxxxxx
[mailto:phoenix-dev-bounces@xxxxxxxxxxx] On Behalf Of Karl Matthias
Sent: Monday, September 17, 2007 2:39 PM
To: For developers on the new Eclipse.org website project.
Subject: [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
_______________________________________________
phoenix-dev mailing list
phoenix-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/phoenix-dev



Back to the top