本文整理汇总了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';
}
示例2: Admin
public function Admin()
{
parent::Controller();
$this->load->library('session');
$this->load->helper('form');
$this->load->helper('validator');
}
示例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');
}
示例4: Clientes
function Clientes()
{
parent::Controller();
$this->load->library("rapyd");
$this->load->helper('openflash');
$this->datasis->modulo_id(126, 1);
}
示例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');
}
示例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>');
}
示例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');
}
示例8: desa
function desa()
{
parent::Controller();
$this->error_msg = '';
$this->load->library('firephp');
$this->load->model('desa_model', 'data_model');
}
示例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'));
}
示例10: gmesoneros
function gmesoneros()
{
parent::Controller();
$this->load->library("rapyd");
$this->load->helper('openflash');
$this->datasis->modulo_id(134, 1);
}
示例11: Fiscalz
function Fiscalz()
{
parent::Controller();
$this->load->library('rapyd');
$this->load->library('jqdatagrid');
$this->datasis->modulo_nombre('FISCALZ', $ventana = 0, $this->titp);
}
示例12:
function EB_Controller()
{
parent::Controller();
if ($this->_authRequired) {
$this->authCheck();
}
}
示例13: sinv
function sinv()
{
parent::Controller();
$this->load->library("rapyd");
//$this->rapyd->set_connection('supermer');
//$this->load->database('supermer',TRUE);
}
示例14: Catalog
function Catalog()
{
parent::Controller();
$this->load->library('DX_Auth');
$this->load->model('Catalog_model');
$this->load->model('Product_model');
}
示例15: Libros
function Libros()
{
parent::Controller();
$this->load->library("rapyd");
$this->datasis->modulo_id(504, 1);
$this->load->helper('date');
}