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';
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'kpi';
     $this->ids_name = array('term_id');
     $this->auto_increment = false;
 }
Esempio n. 4
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->_table = "area";
     $this->_primary_key = "id";
 }
Esempio n. 5
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->_table = "users";
     $this->_primary_key = "id";
     $this->load->helper("phpmailer_helper");
 }
Esempio n. 6
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->_table = "contacts";
     $this->_primary_key = "id";
     $this->load->helper('phpmailer');
 }
Esempio n. 7
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->_table = "real_estate";
     $this->_primary_key = "id";
     $this->load->helper("upload_helper");
 }
Esempio n. 8
0
 public function setDataFromInput($data)
 {
     if ($data) {
         parent::setDataFromInput($data);
         if (array_key_exists('Approved', $data)) {
             $this->Approved = 1;
         } else {
             $this->Approved = 0;
         }
     }
 }
Esempio n. 9
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');
 }
Esempio n. 10
0
 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';
 }
Esempio n. 12
0
 function getAll()
 {
     return parent::getAll($this->_table);
 }
Esempio n. 13
0
 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';
 }
Esempio n. 19
0
 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';
 }
Esempio n. 21
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'card_kpi';
 }
Esempio n. 22
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'dataset';
 }
Esempio n. 23
0
 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';
 }
Esempio n. 26
0
 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');
 }