예제 #1
0
 public function init()
 {
     parent::init();
     $this->_service = new UserService();
     $this->view->title = $this->title = 'Usuários';
     $this->view->headTitle()->prepend($this->title);
 }
예제 #2
0
 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;
 }
예제 #3
0
 public function init()
 {
     parent::init();
     $this->_service = new TarifasService();
     $this->view->title = $this->title = 'Tarifas';
     $this->view->headTitle()->prepend($this->title);
 }
예제 #4
0
 public function init()
 {
     parent::init();
     $this->_service = new ContatoService();
     $this->view->title = $this->title = 'Contato';
     $this->view->headTitle()->prepend($this->title);
 }
예제 #5
0
 public function init()
 {
     parent::init();
     $this->_service = new IndiqueService();
     $this->view->title = $this->title = 'Indique um Amigo';
     $this->view->headTitle()->prepend($this->title);
 }
예제 #6
0
 public function init()
 {
     parent::init();
     $this->_service = new NewsletterService();
     $this->view->title = $this->title = 'Newsletter';
     $this->view->headTitle()->prepend($this->title);
 }
예제 #7
0
 public function init()
 {
     parent::init();
     $this->_service = new BannerHomeService();
     $this->view->title = $this->title = 'Banner Home';
     $this->view->headTitle()->prepend($this->title);
 }
예제 #8
0
 function init()
 {
     $this->view->leftmenuParentController = 'reports';
     if ($this->_request->getActionName() == 'index') {
         $this->setInnerLayout(App_Controller_Action::LAYOUT_BCCA_ACC_REPORT);
     }
     parent::init();
 }
예제 #9
0
 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);
 }
예제 #10
0
 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;
 }
예제 #11
0
 public function init()
 {
     parent::init();
     $this->_helper->layout->setLayout('layout-admin');
 }
예제 #12
0
 public function preDispatch()
 {
     parent::preDispatch();
     // ajax context
     $this->_helper->ajaxContext()->addActionContexts($this->_contexts)->initContext();
 }
예제 #13
0
 public function init()
 {
     parent::init();
     $this->_helper->layout->setLayout('layout-supervisor');
 }
예제 #14
0
 public function preDispatch()
 {
     parent::preDispatch();
 }
예제 #15
0
 public function init()
 {
     $this->_helper->ajaxContext()->addActionContexts(array("html", "json"))->initContext();
     parent::init();
 }
예제 #16
0
 public function init()
 {
     self::$_translate = Zend_Registry::get("translate");
 }
예제 #17
0
파일: Action.php 프로젝트: edderrd/Aerocal
 public function init()
 {
     self::$_translate = Zend_Registry::get("translate");
     // setup baseurl
     $this->baseUrl = Zend_Controller_Front::getInstance()->getBaseUrl();
     $this->view->baseUrl = $this->baseUrl;
 }