コード例 #1
0
ファイル: TarifasController.php プロジェクト: pccnf/sitevilla
 public function init()
 {
     parent::init();
     $this->_service = new TarifasService();
     $this->view->title = $this->title = 'Tarifas';
     $this->view->headTitle()->prepend($this->title);
 }
コード例 #2
0
ファイル: ContatoController.php プロジェクト: pccnf/sitevilla
 public function init()
 {
     parent::init();
     $this->_service = new ContatoService();
     $this->view->title = $this->title = 'Contato';
     $this->view->headTitle()->prepend($this->title);
 }
コード例 #3
0
 public function init()
 {
     parent::init();
     $this->_service = new IndiqueService();
     $this->view->title = $this->title = 'Indique um Amigo';
     $this->view->headTitle()->prepend($this->title);
 }
コード例 #4
0
 public function init()
 {
     parent::init();
     $this->_service = new NewsletterService();
     $this->view->title = $this->title = 'Newsletter';
     $this->view->headTitle()->prepend($this->title);
 }
コード例 #5
0
 public function init()
 {
     parent::init();
     $this->_service = new BannerHomeService();
     $this->view->title = $this->title = 'Banner Home';
     $this->view->headTitle()->prepend($this->title);
 }
コード例 #6
0
 public function init()
 {
     parent::init();
     $this->_service = new UserService();
     $this->view->title = $this->title = 'Usuários';
     $this->view->headTitle()->prepend($this->title);
 }
コード例 #7
0
ファイル: AccReport.php プロジェクト: hugi2002/mylibrary
 function init()
 {
     $this->view->leftmenuParentController = 'reports';
     if ($this->_request->getActionName() == 'index') {
         $this->setInnerLayout(App_Controller_Action::LAYOUT_BCCA_ACC_REPORT);
     }
     parent::init();
 }
コード例 #8
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);
 }
コード例 #9
0
ファイル: Portal.php プロジェクト: josmel/PortalWapMovistar
 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;
 }
コード例 #10
0
ファイル: Admin.php プロジェクト: josmel/PortalWapMovistar
 public function init()
 {
     parent::init();
     $this->_helper->layout->setLayout('layout-admin');
 }
コード例 #11
0
 public function init()
 {
     parent::init();
     $this->_helper->layout->setLayout('layout-supervisor');
 }
コード例 #12
0
 public function init()
 {
     $this->_helper->ajaxContext()->addActionContexts(array("html", "json"))->initContext();
     parent::init();
 }
コード例 #13
0
ファイル: IndexController.php プロジェクト: edderrd/Aerocal
 public function init()
 {
     parent::init();
 }
コード例 #14
0
 public function init()
 {
     parent::init();
     $this->_GetResultSoap = $this->_helper->getHelper('GetResultSoap');
     $this->_flashMessage = new App_Controller_Action_Helper_FlashMessengerCustom();
 }