Пример #1
0
 /**
  * Create and add element of select tag and that options
  * 
  * @param string $name
  * @param array $options
  * @param string $defaultValue
  * @param array $attributes
  * @return FormElementSet
  */
 public function addSelect($name = null, $options = null, $defaultValue = null, $attributes = null)
 {
     $elem = $this->_parentForm->createSelect($name, $options, $defaultValue, $attributes);
     $this->addFormElement($elem);
     return $elem;
 }