2014-08-22

How to add own class to library in ZF1

You have to add to your application.ini:
autoloadernamespaces.broker = "Broker_"
where Broker is your directory into library folder. As a result you can create class Broker_Object in /library/Broker/Object.php and it will be loaded by autoloader.

No comments:

Post a Comment