/**
  * Processes the index action
  * @param zibo\library\html\table\ExtendedTable $table Table of the index view
  * @return null
  */
 protected function processIndex(ExtendedTable $table)
 {
     $table->processForm();
 }
예제 #2
0
 /**
  * Processes the form of this table, will execute the model query and assign the result to the values
  * of this table
  * @return boolean If the form was already processed, nothing is done and false returned. Otherwise the form
  *                 will be processed and true returned
  */
 public function processForm()
 {
     if (!parent::processForm()) {
         return false;
     }
     if (!$this->pageRows || $this->pageRows && $this->countRows) {
         $this->values = $this->query->query();
     }
     return true;
 }