public function init() { $this->logger = new Zend_Log(); $writer = new Zend_Log_Writer_Stream(APPLICATION_PATH . '/../logs/log.txt'); $this->logger->addWriter($writer); parent::init(); }
public function init() { $this->_producto = new Application_Model_Producto(); $this->_categoria = new Application_Model_Categoria(); $this->URL = '/' . $this->getRequest()->getControllerName(); parent::init(); }
public function init() { $this->view->headLink()->appendStylesheet('/css/venta.css'); $this->_producto = new Application_Model_Producto(); $this->_venta = new Application_Model_Venta(); $this->_venta_detalle = new Application_Model_VentaDetalle(); parent::init(); }
public function init() { parent::init(); $this->view->headScript()->appendFile('/js/jquery-ui-1.8.10.custom.min.js'); $this->view->headLink()->appendStylesheet('/css/ui-lightness/jquery-ui-1.8.10.custom.css'); $this->view->headScript()->appendFile('/js/mis-controles.js'); $this->view->headLink()->appendStylesheet('/css/mis-controles.css'); }
public function init() { $this->_categoria = new Application_Model_Categoria(); $this->URL = '/' . $this->getRequest()->getControllerName(); // $this->getRequest()->getModuleName(); // $this->getRequest()->getControllerName(); // $this->getRequest()->getActionName(); parent::init(); }
public function init() { parent::init(); }
public function init() { $this->view->headLink()->appendStylesheet('/css/reporte.css'); parent::init(); }
public function init() { parent::init(); $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); }
public function init() { parent::init(); $this->login_from_cookie(); $this->isLogin(); }
public function init() { $this->_fabricante = new Application_Model_Fabricante(); $this->URL = '/' . $this->getRequest()->getControllerName(); parent::init(); }