当前位置: 首页>>代码示例>>PHP>>正文


PHP Root_Controller::__construct方法代码示例

本文整理汇总了PHP中Root_Controller::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Root_Controller::__construct方法的具体用法?PHP Root_Controller::__construct怎么用?PHP Root_Controller::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Root_Controller的用法示例。


在下文中一共展示了Root_Controller::__construct方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->controller_url = 'notice_management/Public_notice';
     $this->load->model("notice_management/Public_notice_model");
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:7,代码来源:Public_notice.php

示例2:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->controller_url = 'website/Help_desk_contact';
     $this->lang->load('my_lang');
 }
开发者ID:jibonbikash,项目名称:mmc,代码行数:7,代码来源:Help_desk_contact.php

示例3:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('report/upload_income/upload_income_report_list');
     $this->lang->load("report", $this->get_language());
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:7,代码来源:Upload_income_report_list.php

示例4:

 function __construct()
 {
     parent::__construct();
     $this->load->model("Common_model");
     $this->lang->load("ticket_management", $this->get_language());
     $this->lang->load("asset_management", $this->get_language());
 }
开发者ID:mazba,项目名称:ams,代码行数:7,代码来源:Common.php

示例5:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     //$this->permissions=Menu_helper::get_permission('report/registered_union_list');
     $this->controller_url = 'report/report_home';
     //$this->load->model("basic_setup/registered_union_list_model");
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:8,代码来源:Report_home.php

示例6:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('reports/CurrentStock');
     $this->controller_url = 'reports/CurrentStock';
     $this->load->model("reports/Current_stock_model");
 }
开发者ID:mazba,项目名称:ams,代码行数:8,代码来源:CurrentStock.php

示例7:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->controller_url = 'website/Eservice_list';
     $this->load->model("website/Eservice_list_model");
     $this->lang->load('esheba_management_lang');
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:8,代码来源:Eservice_list.php

示例8:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('esheba_management/External_service');
     $this->controller_url = 'esheba_management/external_service';
     //$this->load->model("esheba_management/External_service_model");
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:8,代码来源:External_service.php

示例9:

 function __construct()
 {
     //
     parent::__construct();
     //     $this->load->model("nstitute/Institute");
     $this->load->model("institute/Institute_model");
     $this->load->helper('url');
 }
开发者ID:jibonbikash,项目名称:mmc,代码行数:8,代码来源:Home.php

示例10:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('report/country_wise_city_corporation_monthly_income_list');
     $this->controller_url = 'report/country_wise_city_corporation_monthly_income_list';
     $this->lang->load("report", $this->get_language());
     //$this->load->model("basic_setup/country_wise_city_corporation_monthly_income_list_model");
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:9,代码来源:Country_wise_city_corporation_monthly_income_list.php

示例11:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('profile/User_profile_update');
     $this->controller_url = 'profile/User_profile_update';
     $this->load->model("profile/User_profile_update_model");
     $this->lang->load("user_create", $this->get_language());
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:9,代码来源:User_profile_update.php

示例12:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('faq_management/Question_create');
     $this->controller_url = 'faq_management/Question_create';
     $this->load->model("faq_management/Question_create_model");
     $this->permissions['view'] = '';
 }
开发者ID:jibonbikash,项目名称:mmc,代码行数:9,代码来源:Question_create.php

示例13:

 function __construct()
 {
     parent::__construct();
     $this->message = '';
     $this->permissions = Menu_helper::get_permission('approval/Entrepreneur_approval');
     $this->controller_url = 'approval/Entrepreneur_approval';
     $this->load->model("approval/Entrepreneur_approval_model");
     $this->lang->load('website_lang');
 }
开发者ID:saj696,项目名称:dcms_new,代码行数:9,代码来源:Entrepreneur_approval.php


注:本文中的Root_Controller::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。