function __construct() { parent::__construct(); $this->table_name = 'useracl'; $this->column_primary = 'id'; $this->column_order = ''; $this->column_unique = ''; }
function __construct() { parent::__construct(); $this->table_name = 'groupmenu'; $this->column_primary = 'id'; $this->column_order = 'id ASC'; $this->column_unique = ''; }
function __construct() { parent::__construct(); $this->table_name = 't_simb_ceklist'; $this->column_primary = 'simb_cek_id'; $this->column_order = ''; $this->column_unique = ''; }
function listing() { $this->_fields = " *,IF(is_blocked='1','Inactive','Active') as status"; //from $this->db->from($this->_table); //joins //where foreach ($this->criteria as $key => $value) { if (!is_array($value) && strcmp($value, '') === 0) { continue; } switch ($key) { case 'user_name': $this->db->like($key, $value); break; } } return parent::listing(); }
function listing() { $this->_fields = " *"; //from $this->db->from($this->_table); //joins //where foreach ($this->criteria as $key => $value) { if (!is_array($value) && strcmp($value, '') === 0) { continue; } switch ($key) { case 'name': $this->db->like($key, $value); break; } } return parent::listing(); }
function __construct() { parent::__construct(); $this->_table = 'cars'; }