Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
March 10, 2008, 8:32 pm
rate this thread
I'm using PHP 4.4.4. I have an array, $page_arr, filled with objects
of type "CPage". Is there a way (short of looping through with a for
loop) to remove all elements in the array that match the expression,
"$elt->getPageType() == 'cover'" where "getPageType" is a defined
method of the class "CPage"?
Thanks, - Dave