Friday, April 23, 2010

Zend Framework,bootstrap file autoload

Hi,
 If you want to access the any model or other class then in application folder,the you must auto load the class in bootstrap file,and write the code below

  protected function _initAppAutoload()
    {
        $moduleLoad = new Zend_Application_Module_Autoloader(array(
           'namespace' => '',
           'basePath'   => APPLICATION_PATH
        ));
    }


Have Dream Day

No comments:

Post a Comment