public function __construct()
 {
     parent::__construct();
     $this->banco = $this->config->item('dbFabricaPinheiro');
     $this->tabela = $this->config->item('tblUsuarios');
     $this->apelido = 'us';
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $this->timestamps = FALSE;
     // rules
     $this->rules = ['insert' => ['name' => ['field' => 'name', 'label' => lang('menu.form.name'), 'rules' => 'required|trim|xss_clean'], 'active' => ['field' => 'active', 'label' => lang('menu.form.active'), 'rules' => 'trim|xss_clean'], 'position' => ['field' => 'position', 'label' => lang('menu.form.position'), 'rules' => 'trim|xss_clean']], 'update' => ['name' => ['field' => 'name', 'label' => lang('menu.form.name'), 'rules' => 'required|trim|xss_clean'], 'active' => ['field' => 'active', 'label' => lang('menu.form.active'), 'rules' => 'trim|xss_clean'], 'position' => ['field' => 'position', 'label' => lang('menu.form.position'), 'rules' => 'trim|xss_clean']]];
 }
 public function __construct()
 {
     parent::__construct();
     $this->banco = $this->config->item('dbFabricaPinheiro');
     $this->tabela = $this->config->item('tblBannersTipos');
     $this->apelido = 'bnt';
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = 'choices';
     $this->primary_key = 'id';
     $this->site_lang = Settings::get('site_lang');
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->table_name = 'carriers';
     $this->nameCol = 'network';
     $this->set_dropdown_arrays();
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model('miniant/part_type_model');
     $this->load->model('miniant/issue_type_model');
     $this->load->model('miniant/step_model');
     $this->load->model('miniant/step_part_model');
     $this->load->model('miniant/part_type_issue_type_model');
     $this->load->model('miniant/part_type_issue_type_step_model');
     if (empty(Diagnostic_Tree_Model::$part_types)) {
         $this->db->order_by('name');
         Diagnostic_Tree_Model::$part_types = $this->part_type_model->get();
     }
     if (empty(Diagnostic_Tree_Model::$part_types_dropdown)) {
         $this->db->order_by('name');
         Diagnostic_Tree_Model::$part_types_dropdown = $this->part_type_model->get_dropdown('name', false);
     }
     if (empty(Diagnostic_Tree_Model::$issue_types)) {
         $this->db->order_by('name');
         Diagnostic_Tree_Model::$issue_types = $this->issue_type_model->get_dropdown('name', false);
     }
     if (empty(Diagnostic_Tree_Model::$steps)) {
         $this->db->order_by('name');
         Diagnostic_Tree_Model::$steps = $this->step_model->get_dropdown('name', false);
     }
     $this->refresh_part_type_issue_types();
     $this->refresh_part_type_issue_type_steps();
     $this->refresh_step_parts();
 }
 public function __construct()
 {
     parent::__construct();
     $this->banco = $this->config->item('dbFabricaPinheiro');
     $this->tabela = $this->config->item('tblBlogsCategorias');
     $this->apelido = 'blc';
 }
 function __construct()
 {
     $CI =& get_instance();
     $CI->config->module_load(FUEL_FOLDER, 'fuel', TRUE);
     $this->_tables = $CI->config->item('tables', 'fuel');
     parent::__construct($this->_tables['user_to_permissions']);
 }
Ejemplo n.º 9
0
 function __construct()
 {
     parent::__construct();
     $this->table_nom = 'ecrans';
     $this->cle_primaire = 'ID';
     $this->table_order = '';
 }
 public function __construct()
 {
     $this->table = 'autogeneratetree';
     $this->primary_key = 'id';
     $this->timestamps = TRUE;
     parent::__construct();
 }
Ejemplo n.º 11
0
 public function __construct()
 {
     parent::__construct();
     $this->load->config('variation_database');
     //initialize db tables data
     $this->tables = $this->config->item('tables');
 }
Ejemplo n.º 12
0
 public function __construct()
 {
     parent::__construct();
     // Basic variables which apply to all table operations
     $this->objectIDKey = "centreID";
     $this->dataTableName = "centreData";
 }
Ejemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     $this->table_name = 'locations';
     $this->nameCol = 'place';
     $this->set_dropdown_arrays();
 }
Ejemplo n.º 14
0
    function __construct()
    {
        parent::__construct();



    }
Ejemplo n.º 15
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('string');
     $this->load->library('email');
     $this->load->helper('date');
 }
 public function __construct()
 {
     parent::__construct();
     $this->banco = $this->config->item('dbFabricaPinheiro');
     $this->tabela = $this->config->item('tblProdutosFotos');
     $this->apelido = 'prf';
 }
Ejemplo n.º 17
0
 public function __construct()
 {
     parent::__construct();
     $this->tableName = "participants";
     $this->enable_formatizing = TRUE;
     $this->json_fields = ["appendix", "session_data"];
 }
Ejemplo n.º 18
0
    function __construct()
    {
        parent::__construct();
        $this->update_slugs();
        $this->load->model('user_m');

    }
Ejemplo n.º 19
0
 /**
  * Constructor
  *
  * @access	public
  * @return	void
  */
 public function __construct()
 {
     $CI =& get_instance();
     $CI->config->module_load(FUEL_FOLDER, 'fuel', TRUE);
     $tables = $CI->config->item('tables', 'fuel');
     parent::__construct($tables['fuel_archives']);
 }
Ejemplo n.º 20
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'facebook_user';
     $this->primary_key = 'id';
     $this->result_mode = 'object';
 }
 public function __construct()
 {
     $this->table = 'user_details';
     $this->primary_key = 'user_id';
     $this->has_one['user'] = '******';
     parent::__construct();
 }
Ejemplo n.º 22
0
 function __construct()
 {
     parent::__construct('');
     //table name
     $this->load->library('images_upload');
     $this->load->library('image_lib');
 }
Ejemplo n.º 23
0
 public function __construct()
 {
     parent::__construct();
     $this->tableName = "instructions";
     $this->enable_formatizing = TRUE;
     $this->json_fields = array("appendix");
 }
Ejemplo n.º 24
0
 public function __construct()
 {
     $this->timestamps = FALSE;
     $this->before_create[] = 'remove_defaults';
     $this->before_update[] = 'remove_defaults';
     parent::__construct();
 }
 function __construct()
 {
     include BLOG_PATH . 'config/blog.php';
     $tables = $config['tables'];
     parent::__construct($tables['blog_settings']);
     // table name
 }
 public function __construct()
 {
     parent::__construct();
     $this->curriculum_db = $this->load->database('curriculum', TRUE);
     //		$this->common_db = $this->load->database('common',TRUE);
     $this->load->model('curriculum_model');
 }
 function __construct()
 {
     parent::__construct();
     //
     //         $admin_userdata = $this->session->userdata(APP_PFIX . 'admin');
     //         var_dump($admin_userdata);die;
 }
Ejemplo n.º 28
0
 function __construct()
 {
     $this->load->model('Query_reader', 'Query_reader', TRUE);
     $this->load->model('sys_file', 'sysfile', TRUE);
     parent::__construct();
     #$this->Query_reader->load_queries_into_cache();
 }
Ejemplo n.º 29
0
 function __construct()
 {
     parent::__construct();
     $this->table_nom = 'utilisateurs';
     $this->cle_primaire = 'ID';
     $this->table_order = '';
 }
Ejemplo n.º 30
0
 public function __construct()
 {
     $this->has_many['translations'] = array('Menu_item_translation_model', 'item_id', 'id');
     $this->pagination_delimiters = array('<li>', '</li>');
     $this->pagination_arrows = array('<span aria-hidden="true">&laquo;</span>', '<span aria-hidden="true">&raquo;</span>');
     parent::__construct();
 }