[dev] Horde_Loader -> Horde_Autoloader

Chuck Hagenbuch chuck at horde.org
Tue Sep 2 18:02:17 UTC 2008


Quoting Duck <duck at obala.net>:

> Is possible to extend the loader to auto load a class when a constant is
> called? Now if we need Horde_XXX::NAME class constant we must load the class
> file by hand - is not auto loaded.

This works fine for me. I guess it's a matter of which PHP version  
you're using - we just provide a callback that is triggered by PHP  
when a class is missing.

-chuck


More information about the dev mailing list