當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Controller::Controller方法代碼示例

本文整理匯總了PHP中Controller::Controller方法的典型用法代碼示例。如果您正苦於以下問題:PHP Controller::Controller方法的具體用法?PHP Controller::Controller怎麽用?PHP Controller::Controller使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Controller的用法示例。


在下文中一共展示了Controller::Controller方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: psinv

 function psinv()
 {
     parent::Controller();
     $this->load->library('rapyd');
     $this->datasis->modulo_id('320', 1);
     $this->back_dataedit = 'inventario/psinv';
 }
開發者ID:codethics,項目名稱:proteoerp,代碼行數:7,代碼來源:psinv.php

示例2: Admin

 public function Admin()
 {
     parent::Controller();
     $this->load->library('session');
     $this->load->helper('form');
     $this->load->helper('validator');
 }
開發者ID:karthikv,項目名稱:silent-boss,代碼行數:7,代碼來源:admin.php

示例3: __construct

 public function __construct()
 {
     parent::Controller();
     $this->load->model('Menu_model');
     $this->load->model('Chats_model');
     $this->Menu_model->set_menu_active_item('admin_menu', 'add_ons_items');
 }
開發者ID:Calit2-UCI,項目名稱:IoT_Map,代碼行數:7,代碼來源:admin_chats.php

示例4: Clientes

 function Clientes()
 {
     parent::Controller();
     $this->load->library("rapyd");
     $this->load->helper('openflash');
     $this->datasis->modulo_id(126, 1);
 }
開發者ID:codethics,項目名稱:proteoerp,代碼行數:7,代碼來源:clientes.php

示例5: Sessions

 /**
  * Initialises the controller
  *
  * @return Auth
  */
 function Sessions()
 {
     parent::Controller();
     $this->load->library('FAL_front', 'fal_front');
     $this->load->helper('vivagrams');
     $this->load->helper('oauth');
 }
開發者ID:hawstom,項目名稱:Vivagrams,代碼行數:12,代碼來源:sessions.php

示例6: Example

 function Example()
 {
     parent::Controller();
     // $this->load->helper(array('form', 'url'));
     $this->load->library('form_validation');
     $this->form_validation->set_error_delimiters('<p class="error">', '</p>');
 }
開發者ID:Hammad90,項目名稱:SportoyaRepo,代碼行數:7,代碼來源:example.php

示例7: Invoicepayment

 function Invoicepayment()
 {
     parent::Controller();
     $this->load->library('form_validation');
     $this->session->set_userdata('system', 'settings');
     $this->session->set_userdata('page_title', 'Invoice Payment');
 }
開發者ID:Bakyenga,項目名稱:kyengs,代碼行數:7,代碼來源:invoicepayment.php

示例8: desa

 function desa()
 {
     parent::Controller();
     $this->error_msg = '';
     $this->load->library('firephp');
     $this->load->model('desa_model', 'data_model');
 }
開發者ID:ibnoe,項目名稱:simpatda-thinkfrogs,代碼行數:7,代碼來源:desa.php

示例9: Contact

 /**
  * Constructor 
  *
  * Loads language files and models needed for this controller
  */
 function Contact()
 {
     parent::Controller();
     //Get Config Details From Db
     $this->config->db_config_fetch();
     //Manage site Status
     if ($this->config->item('site_status') == 1) {
         redirect('offline');
     }
     //Debug Tool
     //$this->output->enable_profiler=true;
     //Load Models Common to all the functions in this controller
     $this->load->model('common_model');
     $this->load->model('skills_model');
     $this->load->model('faq_model');
     $this->load->model('contact_model');
     $this->load->model('email_model');
     //Page Title and Meta Tags
     $this->outputData = $this->common_model->getPageTitleAndMetaData();
     //Get Logged In user
     $this->loggedInUser = $this->common_model->getLoggedInUser();
     $this->outputData['loggedInUser'] = $this->loggedInUser;
     //Get Footer content
     $this->outputData['pages'] = $this->common_model->getPages();
     //Get Latest Projects
     $limit_latest = $this->config->item('latest_projects_limit');
     $limit3 = array($limit_latest);
     $this->outputData['latestProjects'] = $this->skills_model->getLatestProjects($limit3);
     //language file
     $this->lang->load('enduser/common', $this->config->item('language_code'));
     $this->lang->load('enduser/rss', $this->config->item('language_code'));
     $this->lang->load('enduser/contact', $this->config->item('language_code'));
 }
開發者ID:khanals,項目名稱:rbs-ext,代碼行數:38,代碼來源:contact.php

示例10: gmesoneros

 function gmesoneros()
 {
     parent::Controller();
     $this->load->library("rapyd");
     $this->load->helper('openflash');
     $this->datasis->modulo_id(134, 1);
 }
開發者ID:codethics,項目名稱:proteoerp,代碼行數:7,代碼來源:gmesoneros.php

示例11: Fiscalz

 function Fiscalz()
 {
     parent::Controller();
     $this->load->library('rapyd');
     $this->load->library('jqdatagrid');
     $this->datasis->modulo_nombre('FISCALZ', $ventana = 0, $this->titp);
 }
開發者ID:codethics,項目名稱:proteoerp,代碼行數:7,代碼來源:fiscalz.php

示例12:

 function EB_Controller()
 {
     parent::Controller();
     if ($this->_authRequired) {
         $this->authCheck();
     }
 }
開發者ID:cybercog,項目名稱:exambuff,代碼行數:7,代碼來源:EB_Controller.php

示例13: sinv

 function sinv()
 {
     parent::Controller();
     $this->load->library("rapyd");
     //$this->rapyd->set_connection('supermer');
     //$this->load->database('supermer',TRUE);
 }
開發者ID:enderochoa,項目名稱:tortuga,代碼行數:7,代碼來源:sinvsant.php

示例14: Catalog

 function Catalog()
 {
     parent::Controller();
     $this->load->library('DX_Auth');
     $this->load->model('Catalog_model');
     $this->load->model('Product_model');
 }
開發者ID:judges,項目名稱:wedding-svit,代碼行數:7,代碼來源:catalog.php

示例15: Libros

 function Libros()
 {
     parent::Controller();
     $this->load->library("rapyd");
     $this->datasis->modulo_id(504, 1);
     $this->load->helper('date');
 }
開發者ID:codethics,項目名稱:proteoerp,代碼行數:7,代碼來源:libros_calore.php


注:本文中的Controller::Controller方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。