Exemplo n.º 1
0
 /**
  * Class constructor
  * 
  * @param     string    Select name attribute
  * @param     mixed     Label(s) for the select
  * @param     mixed     Data to be used to populate options
  * @param     mixed     Either a typical HTML attribute string or an associative array
  * @since     1.0
  * @access    public
  * @return    void
  */
 function HTML_QuickForm_select($elementName = null, $elementLabel = null, $options = null, $attributes = null)
 {
     //HTML_QuickForm_element::HTML_QuickForm_element($elementName, $elementLabel, $attributes);
     new HTML_QuickForm_element($elementName, $elementLabel, $attributes);
     self::$_persistantFreeze = true;
     self::$_type = 'select';
     if (isset($options)) {
         self::load($options);
     }
 }