Posted By

asifjavedall on 02/02/11


Tagged

zend


Versions (?)

autoloader namespace from library


 / Published in: PHP
 

auto load class from Library->mylib->(classes) add following line of code in bootstrap file to register a namespace /library /mylib

  1. protected function _initAutoload()
  2. {
  3. Zend_Loader_Autoloader::getInstance()->registerNamespace('mylib_');
  4.  
  5. }

Report this snippet  

You need to login to post a comment.