示例#1
0
 /**
  * Constructor
  *
  * @param	string	$caption
  * @param	string	$name
  * @param	mixed	$value	Pre-selected value (or array of them).
  * 							Legal values are "-12" to "12" with some ".5"s strewn in ;-)
  * @param	int		$size	Number of rows. "1" makes a drop-down-box.
  */
 function __construct($caption, $name, $value = null, $size = 1)
 {
     parent::__construct($caption, $name, $value, $size);
     $this->addOptionArray(Xmf_Lists::getTimeZoneList());
 }