当前位置: 首页>>代码示例>>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;未经允许,请勿转载。