[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/pear/HTML/QuickForm/ -> date.php (summary)

(no description)

File Size: 506 lines (33 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTML_QuickForm_date:: (8 methods):
  __construct()
  HTML_QuickForm_date()
  _createElements()
  _createOptionList()
  setValue()
  toHtml()
  accept()
  onQuickFormEvent()


Class: HTML_QuickForm_date  - X-Ref

Class for a group of elements used to input dates (and times).

Inspired by original 'date' element but reimplemented as a subclass
of HTML_QuickForm_group

__construct($elementName = null, $elementLabel = null, $options = array()   X-Ref
Class constructor

param: string  Element's name
param: mixed   Label(s) for an element
param: array   Options to control the element's display
param: mixed   Either a typical HTML attribute string or an associative array

HTML_QuickForm_date($elementName = null, $elementLabel = null, $options = array()   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


_createElements()   X-Ref
No description

_createOptionList($start, $end, $step = 1)   X-Ref
Creates an option list containing the numbers from the start number to the end, inclusive

param: int     The start number
param: int     The end number
param: int     Increment by this value
return: array   An array of numeric options.

setValue($value)   X-Ref
No description

toHtml()   X-Ref
No description

accept(&$renderer, $required = false, $error = null)   X-Ref
No description

onQuickFormEvent($event, $arg, &$caller)   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1