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


PHP My_Controller::__construct方法代码示例

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


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

示例1:

 function __construct()
 {
     parent::__construct();
     $this->load->model('mdl_buku_besar', 'buku_besar');
     $this->load->library('pdf');
     $this->load->library('fungsi');
 }
开发者ID:akatgelar,项目名称:51mk3u-8p1hv2,代码行数:7,代码来源:buku_besar.php

示例2:

 function __construct()
 {
     parent::__construct();
     $this->load->model('gamem');
     $this->load->model('articlem');
     $this->load->model('typem');
 }
开发者ID:biao0102,项目名称:website_management,代码行数:7,代码来源:article.php

示例3:

 function __construct()
 {
     parent::__construct();
     $this->load->model('mdl_keberangkatan', 'keberangkatan');
     $this->load->model('mdl_calon_haji', 'calon_haji');
     $this->load->library(array('fungsi', 'pquery'));
 }
开发者ID:akatgelar,项目名称:51mk3u-8p1hv2,代码行数:7,代码来源:keberangkatan.php

示例4: __construct

 /**
  * 构造函数
  * Enter description here ...
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('AreaModel');
     $this->load->library('Tree');
     $this->load->library('Page');
 }
开发者ID:ZuoYouLai,项目名称:tkglxtphp,代码行数:11,代码来源:Area6666.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('Dynasty_Model');
     $this->load->model('Poetry_Model', '', true);
     $this->load->model('Author_Model', '', true);
 }
开发者ID:sunxuechao,项目名称:application,代码行数:7,代码来源:Poem.php

示例6: __construct

 /**
  * 构造函数
  * Enter description here ...
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('UserModel');
     $this->load->model('RoleModel');
     $this->load->library('Page');
 }
开发者ID:ZuoYouLai,项目名称:tkglxtphp,代码行数:11,代码来源:User.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->library('email_lib');
     $this->load->helper(array('url', 'cookie'));
     $this->load->model('user_model');
 }
开发者ID:LunchMatcher,项目名称:lunchcode,代码行数:7,代码来源:home.php

示例8:

 function __construct()
 {
     parent::__construct();
     // Load the user_login Class
     $this->load->library('simple_user_login');
     $this->load->helper(array('form', 'html', 'url'));
 }
开发者ID:bigjoevtrj,项目名称:CI-ACL,代码行数:7,代码来源:login.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('User_model');
     $this->load->model('Logistics_model');
     $this->db->cache_off();
 }
开发者ID:kousik,项目名称:tidiit,代码行数:7,代码来源:user.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('Post');
     $this->load->model('Category');
     $this->load->model('Tag');
 }
开发者ID:gieart87,项目名称:ci-blog,代码行数:7,代码来源:Posts.php

示例11: __construct

 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('News_model', 'News_model', True);
     $this->load->model('Pagecat_model', 'Pagecat_model', True);
     $this->load->model('Newscats_model', 'Newscats_model', True);
 }
开发者ID:goudaelalfy,项目名称:nahda,代码行数:12,代码来源:news.php

示例12:

	function __construct()
	{
		parent::__construct();
		
		//$this->load->model('mdl_master_akun', 'master_akun');
		
	}
开发者ID:akatgelar,项目名称:51mk3u-8p1hv2,代码行数:7,代码来源:backup_database.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->library('user_agent');
     $this->load->model('Dynasty_Model');
     $this->load->model('Poetry_Model', '', true);
 }
开发者ID:sunxuechao,项目名称:application,代码行数:7,代码来源:Home.php

示例14: __construct

 public function __construct()
 {
     try {
         parent::__construct();
         $this->data['title'] = "Menu Setting";
         //Browser Title
         //Define Errors Here//
         $this->cls_msg = array();
         $this->cls_msg["no_result"] = "No information found about news.";
         $this->cls_msg["save_err"] = "New main menu failed to add.";
         $this->cls_msg["save_err_blank"] = "Sorry ! Please provide data to required field.";
         $this->cls_msg["save_succ"] = "New main menu added successfully.";
         $this->cls_msg["save_succ_permit"] = "Menu permission set successfully.";
         $this->cls_msg["save_err_permit"] = "menu permission failed to set.";
         $this->cls_msg["delete_err"] = "Information about news failed to remove.";
         $this->cls_msg["delete_succ"] = "Information about news removed successfully.";
         $this->cls_msg["status_succ"] = "Status of news saved successfully.";
         $this->cls_msg["status_err"] = "Status of news failed to save.";
         //end Define Errors Here//
         $this->pathtoclass = admin_base_url() . $this->router->fetch_class() . "/";
         //for redirecting from this class
         // loading default model here //
         $this->load->model("menu_model", "mod_menu");
         // end loading default model here //
     } catch (Exception $err_obj) {
         show_error($err_obj->getMessage());
     }
 }
开发者ID:bantyroy,项目名称:acs_dev_prj,代码行数:28,代码来源:menu_setting.php

示例15:

 function __construct()
 {
     parent::__construct();
     $this->load->model('mdl_calon_haji', 'calon_haji');
     $this->load->library(array('fungsi', 'pquery'));
     $this->load->library('pagination_custom');
 }
开发者ID:akatgelar,项目名称:51mk3u-8p1hv2,代码行数:7,代码来源:calon_haji.php


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