Пример #1
0
 public function init()
 {
     $this->_producto = new Application_Model_Producto();
     $this->_categoria = new Application_Model_Categoria();
     $this->URL = '/' . $this->getRequest()->getControllerName();
     parent::init();
 }
Пример #2
0
 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();
 }
Пример #3
0
 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();
 }
Пример #4
0
 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');
 }
Пример #5
0
 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();
 }
Пример #6
0
 public function init()
 {
     parent::init();
 }
Пример #7
0
 public function init()
 {
     $this->view->headLink()->appendStylesheet('/css/reporte.css');
     parent::init();
 }
Пример #8
0
 public function init()
 {
     parent::init();
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
 }
Пример #9
0
 public function init()
 {
     parent::init();
     $this->login_from_cookie();
     $this->isLogin();
 }
Пример #10
0
 public function init()
 {
     $this->_fabricante = new Application_Model_Fabricante();
     $this->URL = '/' . $this->getRequest()->getControllerName();
     parent::init();
 }
Пример #11
0
 public function init()
 {
     parent::init();
     self::$token = new Zend_Session_Namespace("thegioistatus");
 }