Exemplo n.º 1
0
 /**
  * Reset
  *
  * @param ElementInterface|null $element
  * @return string|Helper\FormInput
  */
 public function reset(ElementInterface $element = null)
 {
     $helper = new Helper\FormReset();
     return $helper->__invoke($element);
 }
Exemplo n.º 2
0
 /**
  * Render a form <input> reset element from the provided $element,
  * @param  ElementInterface $element
  * @param  null|string $formType
  * @param  array $displayOptions
  * @return string
  */
 public function render(ElementInterface $element, $formType = null, array $displayOptions = array())
 {
     $this->prepareElementBeforeRendering($element, $formType, $displayOptions);
     $html = parent::render($element);
     return $html;
 }