Sounds good to me, go ahead and commit this to Phoenix CVS
+1
Nathan Gervais - nathan eclipse.org
Web Developer
The Eclipse Foundation
-----Original Message-----
From: phoenix-dev-bounces eclipse.org
[mailto:phoenix-dev-bounces eclipse.org] 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 eclipse.org
https://dev.eclipse.org/mailman/listinfo/phoenix-dev
_______________________________________________
phoenix-dev mailing list
phoenix-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/phoenix-dev
|