Ejemplo n.º 1
0
 function OA_Admin_UI_Component_ArrayRenderer($collectHidden = false, $staticLabels = false)
 {
     parent::HTML_QuickForm_Renderer_Array($collectHidden, $staticLabels);
     $this->_groupStack = array();
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  *
  * @param  bool    true: collect all hidden elements into string; false: process them as usual form elements
  * @param  bool    true: render an array of labels to many labels, $key 0 to 'label' and the oterh to "label_$key"
  * @access public
  */
 function HTML_QuickForm_Renderer_Savant($collectHidden = false, $staticLabels = false, $tpl = null)
 {
     if ($tpl) {
         $this->_tpl = $tpl;
     } else {
         $this->_tpl = new Savant2();
     }
     parent::HTML_QuickForm_Renderer_Array($collectHidden, $staticLabels);
 }