On Aug 17, 2007, at 1:19 PM, Justin Giboney wrote:
Why does your function have to be static anyways?
Justin Giboney | www.forodeherbales.com/edge
In my case, these static functions are factories that return objects
themselves. For example, this statement should return an array of
objects, of the class Person, for people whose last name is Giboney:
$people = Person::search_by("lastname", "Giboney");
I don't want to have to instantiate a Person object to call the
search_by() method.
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net