Example #1
0
 public function render(HTML_QuickForm2_Renderer $renderer)
 {
     $renderer->renderHidden($this);
     $this->renderClientRules($renderer->getJavascriptBuilder());
     return $renderer;
 }
Example #2
0
 /**
  * This element is rendered using renderHidden() method
  *
  * renderHidden() is used to
  *   - prevent using the standard element template as this button is
  *     expected to be hidden
  *   - render it above all other submit buttons since hidden elements
  *     are usually at the top of the form
  *
  * @param    HTML_QuickForm2_Renderer    Renderer instance
  * @return   HTML_QuickForm2_Renderer
  */
 public function render(HTML_QuickForm2_Renderer $renderer)
 {
     $renderer->renderHidden($this);
     return $renderer;
 }
Example #3
0
 public function renderHidden(HTML_QuickForm2_Node $element)
 {
     $this->_renderer->renderHidden($element);
 }