public function testIsModifiableDefault() { $form = new Application_Form_Model_Table(); $this->assertTrue($form->isModifiable(null)); }
/** * Erzeugt das Formular für die Darstellung der Modeltabelle auf der Indexseite. * @return Application_Form_Model_Table * TODO Konfigurierbare Tabelle mit Links für Editing/Deleting */ public function getIndexForm() { $form = new Application_Form_Model_Table(); $form->setModels($this->getAllModels()); $form->setColumns(array(array('label' => $this->getModelClass()))); $form->setController($this); return $form; }