Beispiel #1
0
 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');
 }
 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');
 }
Beispiel #3
0
 function MLangs()
 {
     parent::Base_model();
     $table = 'omc_languages';
     $this->_TABLES = array('Langs' => 'omc_languages');
 }
 /**
  * Constructor
  *
  * @return User_is_member_of_site_model
  */
 function User_is_member_of_site_model()
 {
     parent::Base_model();
 }
Beispiel #5
0
 /**
  * Constructor
  *
  * @return User_model
  */
 function User_model()
 {
     parent::Base_model();
 }
 /**
  * Constructor
  *
  * @return Post_pictures_model
  */
 function Post_pictures_model()
 {
     parent::Base_model();
 }
 function Preference_model()
 {
     parent::Base_model();
     define("PREFERENCES", $this->config->item('backendpro_table_prefix') . 'preferences');
     log_message('debug', 'BackendPro : Preference_model class loaded');
 }
 function MKaimonokago()
 {
     parent::Base_model();
 }
Beispiel #9
0
 /**
  * Constructor
  *
  * @return Post_model
  */
 function Owner_model()
 {
     parent::Base_model();
     $this->load->model('User_model');
 }
Beispiel #10
0
 /**
  * Constructor
  *
  * @return Site_model
  */
 function Site_model()
 {
     parent::Base_model();
 }
 function Schedule_Model()
 {
     parent::Base_model();
     $this->_prefix = 'hj_';
     $this->_TABLES = array('Schedule' => $this->_prefix . 'schedule');
 }
Beispiel #12
0
 /**
  * Constructor
  *
  * @return Post_videos_model
  */
 function Post_videos_model()
 {
     parent::Base_model();
 }
Beispiel #13
0
 function Group_Model()
 {
     parent::Base_model();
     $this->_prefix = 'hj_';
     $this->_TABLES = array('Groups' => $this->_prefix . 'group');
 }
Beispiel #14
0
 function Admin6_model()
 {
     parent::Base_model();
 }
Beispiel #15
0
 /**
  * Constructor
  *
  * @return Post_model
  */
 function Post_model()
 {
     parent::Base_model();
     $this->load->model('Post_pictures_model');
     $this->load->model('Post_videos_model');
 }