Example #1
0
 /**
  * Prepare the table items and print the HTML.
  */
 public function display()
 {
     $this->prepare_items();
     if ($this->definition->formEnable()) {
         echo '<form id="' . $this->definition->formId() . '" method="' . $this->definition->formMethod() . '">';
         echo '<input type="hidden" name="page" value="' . $_REQUEST['page'] . '">';
     }
     echo $this->definition->displayBefore();
     parent::display();
     echo $this->definition->displayAfter();
     if ($this->definition->formEnable()) {
         echo '</form>';
     }
 }