Beispiel #1
0
 public function init()
 {
     parent::init();
     // initialize form
     $this->setName('editHumanResourceForm')->setAction('/projects/human-resource/edit')->setMethod('post');
     $id = new Zend_Form_Element_Hidden('id');
     $id->addValidator('Int')->addFilter('StringTrim');
     $this->addElement($id);
 }