$bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap');
$resource = $bootstrap->getPluginResource('db');
$adapter = $resource->getDbAdapter();// Zend Framework 1 · Desenvolvimento Web · PHP
Accessing the dbAdapter or Another Bootstrap Resource From Anywhere in the Application [Zend Framework 1]

Comments 0
No comments yet.