Advertisement
dragonbe

Form resource loader

May 4th, 2011
188
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' => 'Application',
  5.             'basePath'  => dirname(__FILE__),
  6.         ));
  7.         $autoloader->addResourceType('form', 'forms/');
  8.         return $autoloader;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement