IMPORTANT NOTE: While you can disable adding and editing, if you do that you must simply use Grid!
Inheritance: extends View
Exemplo n.º 1
0
 function setModel($m, $f = null, $f2 = null)
 {
     parent::setModel($m, $f, $f2);
     if ($this->add_button) {
         $this->add_button->setLabel('Add ' . str_replace(array('Model_', '_'), array('', ' '), get_class($this->model)));
     }
 }
Exemplo n.º 2
0
 function formSubmitSuccess()
 {
     parent::formSubmitSuccess();
 }