Пример #1
0
 /**
  * Render a form <input> element from the provided $element
  *
  * @param  ElementInterface          $element
  * @throws Exception\DomainException
  * @return string
  */
 public function render(ElementInterface $element)
 {
     $this->renderer->preRenderInputField($element);
     return parent::render($element);
 }
Пример #2
0
 /**
  * @param string                   $formAlias
  * @param \Zend\Form\FormInterface $form
  * @param array $options
  */
 public function __invoke($formAlias, FormInterface $form = null, array $options = array())
 {
     $this->renderer->preRenderForm($formAlias, $this->getView(), $form, $options);
 }