If you would restrict this new feature to PHP5.3, then you could use SplObjectStorage to get the classname from an $object => $className map.
[1] http://www.colder.ch/news/01-08-2009/34/splobjectstorage-for-a-fa.html Am Tuesday 13 January 2009 22:58:57 schrieb Tobias Schlitt: > - Added stub for ezcPersistentFindQuery class. > + * @todo To maintain BC completely, this class should actually extend > + * ezcQuerySelect, although this is code overhead. Needs to be > discussed. -- Thomas Koch, http://www.koch.ro YMC AG, http://www.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components