> Do you see anyway around this? My parent class is a generic database
> table wrapper to provide ORM mapping. Each child class maps to a
> specific table. I'd like to implement several static functions such as
> search_by(), a factory pattern that returns an object or objects of its
> own class that match the search. I see no way to define the database
> table in a child class and have it passed back to a static function in
> the parent class.

you might want to override the parent classes implementation. or create
an abstract method in parent that gets overriden in the child.

--
thebigdog

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to