public function overwriteForm($return, $returnfull) { $return = parent::overwriteForm($return, $returnfull); $p = new Lists(); // $p->default_read_coloms = "ID,post_title"; $arrPage = $p->getAll(); $arrNe = array(); foreach ($arrPage as $pp) { $arrNe[$pp->list_id] = $pp->list_id . " - " . $pp->list_name; } $return['list_pic'] = new \Leap\View\InputFoto("list_pic", "list_pic", $this->list_pic); // $return['carousel_active'] = new Leap\View\InputSelect($this->arrayYesNO, "carousel_active", "carousel_active", // $this->carousel_active); $return['list_descr'] = new Leap\View\InputTextArea("list_descr", "list_descr", $this->list_descr); $return['list_parent_id'] = new Leap\View\InputSelect($arrNe, "list_parent_id", "list_parent_id", $this->list_parent_id); //comment di set di page $return['list_urutan'] = new Leap\View\InputText("number", "list_urutan", "list_urutan", $this->list_urutan); return $return; }