Advertisement
dragonbe

ResourceLoader

May 4th, 2011
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1.     public function _initFormLoader()
  2.     {
  3.         $autoloader = new Zend_Application_Autoloader_Resource(array(
  4.             'namespace' => 'Forms',
  5.             'basePath'  => dirname(__FILE__),
  6.         ));
  7.         $autoloader->addResourceType('form', 'forms/');
  8.         return $autoloader;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement