_options as $opts) { foreach ($opts as $opp) { array_push($op,'--'); } } parent::HTML_QuickForm_date($elementName, $elementLabel, $options, $attributes); } //end constructor // }}} // {{{ _createNumericOptionList() /** * Creates a numeric option list based on a start number and end number * * @param int $start The start number * @param int $end The end number * * @access public * @return array An array of numeric options. */ function _createNumericOptionList($start, $end) { $options = array(); for ($i = $start; $i <= $end; $i++) { $options[$i] = sprintf('%02d', $i); } array_push($options,'--'); return $options; } // end func _createNumericOptionList ?>