Пример #1
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->field = ['rid' => ['type' => 'INT', 'show' => TRUE, 'label' => NULL, 'form' => 'hidden', 'rules' => 'required'], 'rnme' => ['type' => 'STRING', 'show' => TRUE, 'label' => 'Name', 'form' => 'input', 'rules' => 'required'], 'rdesc' => ['type' => 'STRING', 'show' => TRUE, 'label' => 'Description', 'form' => 'input', 'rules' => 'required'], 'rstat' => ['type' => 'BOOLEAN', 'show' => TRUE, 'label' => 'Status', 'form' => 'checkbox', 'rules' => 'is_natural']];
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('encrypt');
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $this->field = ['cid' => ['type' => 'INT', 'show' => TRUE, 'label' => NULL, 'form' => 'hidden', 'rules' => 'required|is_unique'], 'ccd' => ['type' => 'STRING', 'show' => TRUE, 'label' => 'Code', 'form' => 'input', 'rules' => 'required'], 'cnm' => ['type' => 'STRING', 'show' => TRUE, 'label' => 'Name', 'form' => 'input', 'rules' => 'required'], 'ciso3cd' => ['type' => 'STRING', 'show' => TRUE, 'label' => 'ISO3 Code', 'form' => 'input', 'rules' => 'required'], 'cncd' => ['type' => 'STRING', 'show' => TRUE, 'label' => 'Code', 'form' => 'input', 'rules' => 'required|numeric']];
 }