10-22-2009, 10:35 AM
|
#6 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
Tanax is correct, just because an class 'extends' another it doesn't mean that the 'base' class will have any knowledge of any derived objects. To add this functionality you would need to store the object in an array in the base object and use a getter to access it (as Tanax suggested you could use the magic get interceptor function __get)
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|