> On 6/27/05, David Zülke <[EMAIL PROTECTED]> wrote:
> > Not suitable for two reasons:
> > 1) the check is difficult (instanceof, class_implements(),
> class_parents()
> > and is_subclass_of() need objects)
> 
> This is no longer the case as of 5.0.3 is_subclass_of() will accept a
> string argument in place of the object to make class comparisons. It

I know. I cannot use 5.0.3 or later for a client project, they have a server
running 5.0.1. And, after all, it's a PHP5 MVC framework, not a PHP5.0.3
one.


> does not, however, work for interfaces. :(

And if interfaces were used, every model that derives Model and implements
Singleton would have to implement getInstance() on its own, which is not the
ideal solution IMO ;)

- David


_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to