Autoload classes from library/


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function _initAutoload() {
  2. // autoload classes from our library
  3. $autoLoader = Zend_Loader_Autoloader::getInstance();
  4. $autoLoader->setFallbackAutoloader(true);
  5. }

URL: http://howto.isgoodness.com/2009/11/how-to-bootstrap-autoload-modules-and-classes-with-zend-framework/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.