本文整理汇总了PHP中My_Controller类的典型用法代码示例。如果您正苦于以下问题:PHP My_Controller类的具体用法?PHP My_Controller怎么用?PHP My_Controller使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了My_Controller类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct();
$this->load->model('mdl_buku_besar', 'buku_besar');
$this->load->library('pdf');
$this->load->library('fungsi');
}
示例2:
function __construct()
{
parent::__construct();
$this->load->model('gamem');
$this->load->model('articlem');
$this->load->model('typem');
}
示例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'));
}
示例4: __construct
/**
* 构造函数
* Enter description here ...
*/
public function __construct()
{
parent::__construct();
$this->load->model('AreaModel');
$this->load->library('Tree');
$this->load->library('Page');
}
示例5: __construct
public function __construct()
{
parent::__construct();
$this->load->model('Dynasty_Model');
$this->load->model('Poetry_Model', '', true);
$this->load->model('Author_Model', '', true);
}
示例6: __construct
/**
* 构造函数
* Enter description here ...
*/
public function __construct()
{
parent::__construct();
$this->load->model('UserModel');
$this->load->model('RoleModel');
$this->load->library('Page');
}
示例7: __construct
public function __construct()
{
parent::__construct();
$this->load->library('email_lib');
$this->load->helper(array('url', 'cookie'));
$this->load->model('user_model');
}
示例8:
function __construct()
{
parent::__construct();
// Load the user_login Class
$this->load->library('simple_user_login');
$this->load->helper(array('form', 'html', 'url'));
}
示例9: __construct
public function __construct()
{
parent::__construct();
$this->load->model('User_model');
$this->load->model('Logistics_model');
$this->db->cache_off();
}
示例10: __construct
public function __construct()
{
parent::__construct();
$this->load->model('Post');
$this->load->model('Category');
$this->load->model('Tag');
}
示例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);
}
示例12:
function __construct()
{
parent::__construct();
//$this->load->model('mdl_master_akun', 'master_akun');
}
示例13: __construct
public function __construct()
{
parent::__construct();
$this->load->library('user_agent');
$this->load->model('Dynasty_Model');
$this->load->model('Poetry_Model', '', true);
}
示例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());
}
}
示例15:
function __construct()
{
parent::__construct();
$this->load->model('mdl_calon_haji', 'calon_haji');
$this->load->library(array('fungsi', 'pquery'));
$this->load->library('pagination_custom');
}