public function init() { parent::init(); $this->_baseUrl = $url = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->_categoria = new Application_Model_Categoria(); $this->view->headLink()->appendStylesheet('/crm700/public/plugins/alertifyjs/css/alertify.min.css'); $this->view->headScript()->appendFile($this->_baseUrl . '/plugins/alertifyjs/alertify.min.js'); $this->view->headScript()->appendFile($this->_baseUrl . '/files_js/controllers/categoria/categoria.js'); }
public function init() { parent::init(); $this->_baseUrl = $url = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->_usuarios = new Application_Model_Usuarios(); $auth = Zend_Auth::getInstance(); $identity = $auth->getIdentity(); $this->_identity = $identity; }
public function init() { parent::init(); $this->_notificacao = new Application_Model_Notificacao(); $this->_dbAdapter = Zend_Db_Table::getDefaultAdapter(); $this->_baseUrl = $url = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->view->headScript()->appendFile($this->_baseUrl . '/files_js/controllers/notificacoes/index.js'); $this->view->headLink()->appendStylesheet('/crm700/public/plugins/alertifyjs/css/alertify.min.css'); $this->view->headScript()->appendFile($this->_baseUrl . '/plugins/alertifyjs/alertify.min.js'); }
public function init() { parent::init(); $this->_baseUrl = $url = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->_usuarios = new Application_Model_Usuarios(); $this->_pFisica = new Application_Model_PessoaFisica(); $this->_pergunta = new Application_Model_Questionario(); $this->_endereco = new Application_Model_Enderecos(); $this->_notificacao = new Application_Model_Notificacao(); $this->_dbAdapter = Zend_Db_Table::getDefaultAdapter(); $auth = Zend_Auth::getInstance(); $identity = $auth->getIdentity(); $this->_identity = $identity; }
public function init() { parent::init(); $this->_baseUrl = $url = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->view->headScript()->appendFile($this->_baseUrl . '/plugins/vanilla-masker/vanilla-masker.js'); $this->view->headLink()->appendStylesheet('/crm700/public/plugins/switch/dist/css/bootstrap3/switch.css'); $this->view->headLink()->appendStylesheet('/crm700/public/plugins/alertifyjs/css/alertify.min.css'); $this->view->headScript()->appendFile($this->_baseUrl . '/plugins/alertifyjs/alertify.min.js'); $this->view->headScript()->appendFile($this->_baseUrl . '/files_js/controllers/produto/produto.js'); $this->_produto = new Application_Model_Produto(); $this->_imagens = new Application_Model_ImagensProdutos(); $this->_dbAdapter = Zend_Db_Table::getDefaultAdapter(); $auth = Zend_Auth::getInstance(); $identity = $auth->getIdentity(); $this->_identity = $identity; }
public function init() { parent::init(); $this->_baseUrl = $url = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->_usuarios = new Application_Model_Usuarios(); $this->_produtos = new Application_Model_Produto(); $this->_creditos = new Application_Model_Creditos(); $this->_usarCreditos = new Tokem_Creditos(); $this->_carrinho = new Tokem_Carrinho(); $this->_dbAdapter = Zend_Db_Table::getDefaultAdapter(); $auth = Zend_Auth::getInstance(); $identity = $auth->getIdentity(); $this->_identity = $identity; $this->view->headLink()->appendStylesheet('/crm700/public/plugins/alertifyjs/css/alertify.min.css'); $this->view->headScript()->appendFile($this->_baseUrl . '/plugins/alertifyjs/alertify.min.js'); $this->view->headScript()->appendFile($this->_baseUrl . '/files_js/controllers/pedidos/grade.js'); }
public function init() { parent::init(); }