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);
 }
 public function init()
 {
     parent::init();
     $this->_service = new UserService();
     $this->view->title = $this->title = 'Usuários';
     $this->view->headTitle()->prepend($this->title);
 }
Exemple #7
0
 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);
 }
Exemple #9
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;
 }
Exemple #10
0
 public function init()
 {
     parent::init();
     $this->_helper->layout->setLayout('layout-admin');
 }
 public function init()
 {
     parent::init();
     $this->_helper->layout->setLayout('layout-supervisor');
 }
 public function init()
 {
     $this->_helper->ajaxContext()->addActionContexts(array("html", "json"))->initContext();
     parent::init();
 }
Exemple #13
0
 public function init()
 {
     parent::init();
 }
 public function init()
 {
     parent::init();
     $this->_GetResultSoap = $this->_helper->getHelper('GetResultSoap');
     $this->_flashMessage = new App_Controller_Action_Helper_FlashMessengerCustom();
 }