Him Can anyone tell me how can I access the library in ZEND framework and what is the proper naming convention for libraries in ZEND. I have the following struture
--application
--docs
--library
--myLibrary.php (class name is also same)
--public
How can I access this library in my model?
If your library is really a single class called
myLibrary
stored inlibrary/myLibrary.php
, then you should be able to add the following to yourapplication/configs/applicatiom.ini
file:Then you should be able to instantiate a
myLibrary
object using: