Example #1
0
 public function setDecorators(array $decorators)
 {
     parent::setDecorators($decorators);
     $this->addDecorator(array('FormWrapper' => 'HtmlTag'), array('tag' => 'div', 'class' => self::DYNAMICGROUP_DIV_WRAPPER_CSS_CLASS . ' ' . self::DYNAMICGROUP_DIV_WRAPPER_CSS_CLASS . '_' . $this->getName(), 'formName' => $this->getName(), 'placeholder' => $this->getPlaceholderSelector()));
     if ($this->_identityField !== null) {
         $this->getDecorator('FormWrapper')->setOption('identity', $this->_identityField);
     }
 }