JHtml::calendar
Displays a calendar control field
Signature
public function calendar(string
$value,
[string
$name = '%Y-%m-%d',
[string
$id = '%Y-%m-%d',
[string
$format = '%Y-%m-%d',
[array
$attribs = null]]]] )
Parameters
-
$value
- The date value
-
$name
- The name of the text field
-
$id
- The id of the text field
-
$format
- The date format
-
$attribs
- Additional HTML attributes
Returns
- string
- HTML markup for a calendar field