abstract class Controller
This is the base class for implementing controllers (DVelum 0.9 and higher).
abstract class Controller { /** * Adapter connecting to the default database * @var Zend_Db_Adapter_Abstract */ static protected $_defaultDb; /** * Link to Page object * @var Page */ protected $_page; /** * Adapter connecting to the current object database * @var Zend_Db_Adapter_Abstract */ protected $_db; /** * Link to Resource object * @var Resource */ protected $_resource; /** * Localization dictionary * @var Lang */ protected $_lang; /** * Link to router * @var Router */ protected $_router; /** * Set adapter connecting to the default database * @param Zend_Db_Adapter_Abstract $db */ static public function setDefaultDb(Zend_Db_Adapter_Abstract $db) /** * Set adapter connecting to the current object database * @param Zend_Db_Adapter_Abstract $db */ public function setDb(Zend_Db_Adapter_Abstract $db) /** * Set link to router * @param Router $router */ public function setRouter(Router $router) /** * Default action * (Is to be set in child classes) */ abstract function indexAction(); }comments powered by Disqus