public function init() { parent::init(); $this->_service = new UserService(); $this->view->title = $this->title = 'Usuários'; $this->view->headTitle()->prepend($this->title); }
public function preDispatch() { parent::preDispatch(); // var_dump($this->_GetResultSoap->seccionMusicaTopResult->albumDetalleBE);exit; // $this->view->SoapMusica = $this->_GetResultSoap->seccionMusicaTopResult->albumDetalleBE; // $this->view->SoapTonos = $this->_GetResultSoap->seccionTonosResult->albumDetalleBE; }
public function init() { parent::init(); $this->_service = new TarifasService(); $this->view->title = $this->title = 'Tarifas'; $this->view->headTitle()->prepend($this->title); }
public function init() { parent::init(); $this->_service = new ContatoService(); $this->view->title = $this->title = 'Contato'; $this->view->headTitle()->prepend($this->title); }
public function init() { parent::init(); $this->_service = new IndiqueService(); $this->view->title = $this->title = 'Indique um Amigo'; $this->view->headTitle()->prepend($this->title); }
public function init() { parent::init(); $this->_service = new NewsletterService(); $this->view->title = $this->title = 'Newsletter'; $this->view->headTitle()->prepend($this->title); }
public function init() { parent::init(); $this->_service = new BannerHomeService(); $this->view->title = $this->title = 'Banner Home'; $this->view->headTitle()->prepend($this->title); }
function init() { $this->view->leftmenuParentController = 'reports'; if ($this->_request->getActionName() == 'index') { $this->setInnerLayout(App_Controller_Action::LAYOUT_BCCA_ACC_REPORT); } parent::init(); }
public function init() { parent::init(); $this->_service = new ClienteService(); $this->_serviceAcesso = new AcessoService(); $this->view->title = $this->title = 'Perfil'; $this->view->headTitle()->prepend($this->title); }
public function init() { parent::init(); $this->_config = $this->getConfig(); $pathBANNER = $this->_config->app->jsonBanner; $totalBanners = json_decode(file_get_contents($pathBANNER), true); $util = new App_Util(); $SoapBanner = $util->groupArray($totalBanners, 'codtbanner'); foreach (array(1, 2, 3, 4, 5) as $i) { $Banners[] = $SoapBanner[$i][0]['norder']; } // var_dump($Banners);exit; $perfil = $this->obtenerPerfil($Banners); $this->view->perfil = $perfil; switch ('3') { case '1': $this->forward('basico'); break; case '2': $this->forward('basico128'); break; case '3': $this->forward('basico240'); break; case '4': $this->forward('basico360'); break; case '5': $this->forward('avanzado'); break; default: $this->forward('basico240'); break; } $bannerMovistar = $util->filter_by_value($totalBanners, 'codtbanner', 11); $this->view->SoapMovistarBanners = $bannerMovistar[0]; $this->view->SoapBanners = $SoapBanner; }
public function init() { parent::init(); $this->_helper->layout->setLayout('layout-admin'); }
public function preDispatch() { parent::preDispatch(); // ajax context $this->_helper->ajaxContext()->addActionContexts($this->_contexts)->initContext(); }
public function init() { parent::init(); $this->_helper->layout->setLayout('layout-supervisor'); }
public function preDispatch() { parent::preDispatch(); }
public function init() { $this->_helper->ajaxContext()->addActionContexts(array("html", "json"))->initContext(); parent::init(); }
public function init() { self::$_translate = Zend_Registry::get("translate"); }
public function init() { self::$_translate = Zend_Registry::get("translate"); // setup baseurl $this->baseUrl = Zend_Controller_Front::getInstance()->getBaseUrl(); $this->view->baseUrl = $this->baseUrl; }