Esempio n. 1
0
 protected function getSearchDefinition()
 {
     $form_values = array('class' => 'ClassSoldier', 'controller' => $this->search_controller, 'form' => array('id_soldier' => array('class' => 'table_id', 'type' => 'text'), 'name' => array('class' => 'table_name', 'type' => 'text'), 'surname' => array('class' => 'table_surname', 'type' => 'text'), 'mail' => array('class' => 'table_mail', 'type' => 'text'), 'phone' => array('class' => 'table_phone', 'type' => 'text'), 'pesel' => array('class' => 'table_pesel', 'type' => 'text'), 'id_status' => array('class' => 'table_status', 'type' => 'select', 'options' => ClassSoldierStatus::sqlGetAllItemsNameById(NULL, false, true)), 'actions' => array('class' => 'table_akcje')));
     return $form_values;
 }