Results 1 to 1 of 1
Thread: Zend module models
Feb 16, 2012, 14:05 #1
- Join Date
- Jun 2008
- 0 Post(s)
- 0 Thread(s)
Zend module models
I've create a module called blog using the Zend Cli Tool.
I've managed to get the controllers to work, however, I can't seem to get the models from within the module to load.
The Zend Tool created a directory structure as shown below (some of it is omitted)
I have the following in my bootstrap.php file to initialise the modules;
public function _initModules()
$front = Zend_Controller_Front::getInstance();
$front->setControllerDirectory( array (
'blog' => APPLICATION_PATH . '/application/controllers/blog'
Durham based Web Developer