public function __construct() { parent::__construct(); $this->table = 'company'; $this->ids_name = array('entity_id'); $this->auto_increment = false; }
public function __construct() { parent::__construct(); $this->table = 'storyboard'; $this->link_table = 'storyboard_slide'; $this->link_table2 = 'wordcloud_content'; }
public function __construct() { parent::__construct(); $this->table = 'kpi'; $this->ids_name = array('term_id'); $this->auto_increment = false; }
function __construct() { // Call the Model constructor parent::__construct(); $this->_table = "area"; $this->_primary_key = "id"; }
function __construct() { // Call the Model constructor parent::__construct(); $this->_table = "users"; $this->_primary_key = "id"; $this->load->helper("phpmailer_helper"); }
function __construct() { // Call the Model constructor parent::__construct(); $this->_table = "contacts"; $this->_primary_key = "id"; $this->load->helper('phpmailer'); }
function __construct() { // Call the Model constructor parent::__construct(); $this->_table = "real_estate"; $this->_primary_key = "id"; $this->load->helper("upload_helper"); }
public function setDataFromInput($data) { if ($data) { parent::setDataFromInput($data); if (array_key_exists('Approved', $data)) { $this->Approved = 1; } else { $this->Approved = 0; } } }
function __construct() { // Call the Model constructor parent::__construct(); $this->load->model("Categories_model"); $this->load->model('District_model'); $this->load->model('Area_model'); $this->load->model('Price_model'); $this->load->model('Configs_model'); $this->load->helper('cookie'); }
public function delete($Id = NULL) { if ($Id != NULL) { $resource_model = $this->Resource_model->getById($Id); } else { $resource_model = $this; } if ($resource_model != NULL) { if (unlink($resource_model->Path)) { return parent::delete($Id); } } }
public function __construct() { parent::__construct(); $this->table = 'view_card'; }
function getAll() { return parent::getAll($this->_table); }
public function __construct() { parent::__construct(); $this->table = 'circle'; }
public function __construct() { parent::__construct(); $this->table = 'list_companies'; }
public function __construct() { parent::__construct(); $this->table = 'reporting_periods'; }
function __construct() { parent::__construct(); $this->db = $this->load->database('ifp_db', TRUE); // <-- Please Modified This : ifp_db,ifb_db,ifc_db }
public function __construct() { parent::__construct(); $this->table = 'user_company'; $this->ids_name = array('user', 'company'); }
public function __construct() { parent::__construct(); $this->table = 'card_of_the_day'; }
public function setDataFromInput($data) { if ($data) { parent::setDataFromInput($data); $this->DateOfBirth = date_timestamp_get(DateTime::createFromFormat($this->config->item('date_format'), $data['DateOfBirth'])); if (!array_key_exists('EnabledFullName', $data)) { $this->EnabledFullName = 0; } if (!array_key_exists('EnabledDateOfBirth', $data)) { $this->EnabledDateOfBirth = 0; } if (!array_key_exists('EnabledAddress', $data)) { $this->EnabledAddress = 0; } if (!array_key_exists('EnabledNationality', $data)) { $this->EnabledNationality = 0; } if (!array_key_exists('EnabledTel', $data)) { $this->EnabledTel = 0; } if (!array_key_exists('EnabledEmail', $data)) { $this->EnabledEmail = 0; } if (!array_key_exists('EnabledProfession', $data)) { $this->EnabledProfession = 0; } if (!array_key_exists('EnabledFavorite', $data)) { $this->EnabledFavorite = 0; } } }
public function __construct() { parent::__construct(); $this->table = 'private_company'; }
public function __construct() { parent::__construct(); $this->table = 'card_kpi'; }
public function __construct() { parent::__construct(); $this->table = 'dataset'; }
public function __construct() { parent::__construct(); $this->table = 'sync'; $this->ids_name = array('type'); }
function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->table = 'indicator'; }
public function list_records_and_admin($circle_id = "") { if ($circle_id == "") { return parent::list_records(); } else { $sql = "(select u.* from user u, circle c where c.admin = u.id and c.id=" . $circle_id . ") union (select u.* from user u, user_circle uc where uc.user = u.id and uc.circle=" . $circle_id . " and uc.status = 2)"; $query = $this->db->query($sql); return $query->result_array(); } }
public function __construct() { parent::__construct(); $this->table = 'user_circle'; $this->ids_name = array('card', 'circle'); }