API17:JHtml::calendar
From Joomla! Documentation
JHtml::calendar
Description
Displays a calendar control field.
public static function calendar (
$value
$name
$id
$format= '%Y-%m-%d'
$attribs=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $value | string | The date value | |
| $name | string | The name of the text field | |
| $id | string | The id of the text field | |
| $format | string | '%Y-%m-%d' | The date format |
| $attribs | array | null | Additional html attributes |
- Returns
- Defined on line 689 of libraries/joomla/html/html.php
See also
JHtml::calendar source code on BitBucket
Class JHtml
Subpackage Html- Other versions of JHtml::calendar
User contributed notes
Code Examples