Example #1
0
 /**
  * @inheritdoc
  */
 protected function normaliseRenderOptions()
 {
     return ArrayUtilities::combine(parent::normaliseRenderOptions(), array(self::RENDER_OPTION_KEY_ELEMENT_NAME => 'fieldset', self::RENDER_OPTION_KEY_ATTRIBUTES => array('id' => sprintf('sitegear-fieldset-%s', NameUtilities::convertToDashedLower($this->getFieldset()->getHeading())))));
 }
 /**
  * @inheritdoc
  */
 protected function normaliseRenderOptions()
 {
     $options = parent::normaliseRenderOptions();
     $options['attributes'] = ArrayUtilities::mergeHtmlAttributes(array('id' => $this->getField()->getName() . '-field'), $options['attributes']);
     return $options;
 }
Example #3
0
 /**
  * @inheritdoc
  */
 protected function normaliseRenderOptions()
 {
     return ArrayUtilities::combine(parent::normaliseRenderOptions(), array(self::RENDER_OPTION_KEY_ELEMENT_NAME => 'form', self::RENDER_OPTION_KEY_ATTRIBUTES => array('action' => $this->form->getSubmitUrl(), 'method' => $this->form->getMethod())));
 }