Tweet |
In case you have your own library , and you want to use beside the Zend Framework library , all you have to do is to place your library directory beside Zend library as the following hierarchy
Then in /application/configs/application.ini you should add the following line
Of course you should name your classes as Zend convention , to load them easily .
For example if you have a class named Php_Class_Test , so its path will be Php/Class/Test.php
application
library
---- Zend
---- Php
public
Then in /application/configs/application.ini you should add the following line
autoloaderNamespaces.php = "Php_"
Of course you should name your classes as Zend convention , to load them easily .
For example if you have a class named Php_Class_Test , so its path will be Php/Class/Test.php
0 comments: