Exemple #1
0
 public function picker()
 {
     if ($this->input->get_post('parent_id')) {
         $this->picker_parent_item = $this->MODEL->first()->getById($this->input->get_post('parent_id'));
     } else {
         $this->picker_parent_item = array();
     }
     return parent::picker();
 }