Пример #1
0
 /**
  * Create and add element of input tag whose type is button
  * 
  * @param string $name
  * @param string $value
  * @param array $attributes
  * @return FormElement
  */
 public function addButton($name = null, $value = null, $attributes = null)
 {
     $elem = $this->_parentForm->createButton($name, $value, $attributes);
     $this->addFormElement($elem);
     return $elem;
 }