本文整理汇总了PHP中Base_model::Base_model方法的典型用法代码示例。如果您正苦于以下问题:PHP Base_model::Base_model方法的具体用法?PHP Base_model::Base_model怎么用?PHP Base_model::Base_model使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Base_model
的用法示例。
在下文中一共展示了Base_model::Base_model方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
function User_model()
{
parent::Base_model();
$this->_prefix = $this->config->item('backendpro_table_prefix');
$this->_TABLES = array('Users' => $this->_prefix . 'users', 'UserProfiles' => $this->_prefix . 'user_profiles');
log_message('debug', 'BackendPro : User_model class loaded');
}
示例2: array
function Preference_model()
{
parent::Base_model();
$this->_TABLES = array('Option' => $this->config->item('backendpro_table_prefix') . 'preferences');
// Cache to store already fetched items
$this->_CACHE = array();
// Object keyword
// I wouldn't advise changing this, it could corrupt current
// preferences, the reason for needing this is to stop unserialze
// errors spamming the log files
$this->object_keyword = "BeP::Object::";
log_message('debug', 'BackendPro : Preference_model class loaded');
}
示例3: MLangs
function MLangs()
{
parent::Base_model();
$table = 'omc_languages';
$this->_TABLES = array('Langs' => 'omc_languages');
}
示例4:
/**
* Constructor
*
* @return User_is_member_of_site_model
*/
function User_is_member_of_site_model()
{
parent::Base_model();
}
示例5:
/**
* Constructor
*
* @return User_model
*/
function User_model()
{
parent::Base_model();
}
示例6:
/**
* Constructor
*
* @return Post_pictures_model
*/
function Post_pictures_model()
{
parent::Base_model();
}
示例7: define
function Preference_model()
{
parent::Base_model();
define("PREFERENCES", $this->config->item('backendpro_table_prefix') . 'preferences');
log_message('debug', 'BackendPro : Preference_model class loaded');
}
示例8: MKaimonokago
function MKaimonokago()
{
parent::Base_model();
}
示例9:
/**
* Constructor
*
* @return Post_model
*/
function Owner_model()
{
parent::Base_model();
$this->load->model('User_model');
}
示例10:
/**
* Constructor
*
* @return Site_model
*/
function Site_model()
{
parent::Base_model();
}
示例11: array
function Schedule_Model()
{
parent::Base_model();
$this->_prefix = 'hj_';
$this->_TABLES = array('Schedule' => $this->_prefix . 'schedule');
}
示例12:
/**
* Constructor
*
* @return Post_videos_model
*/
function Post_videos_model()
{
parent::Base_model();
}
示例13: array
function Group_Model()
{
parent::Base_model();
$this->_prefix = 'hj_';
$this->_TABLES = array('Groups' => $this->_prefix . 'group');
}
示例14:
function Admin6_model()
{
parent::Base_model();
}
示例15:
/**
* Constructor
*
* @return Post_model
*/
function Post_model()
{
parent::Base_model();
$this->load->model('Post_pictures_model');
$this->load->model('Post_videos_model');
}