JHtml::calendar
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtml::calendar[edit]
Description[edit]
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[edit]
JHtml::calendar source code on BitBucket
Class JHtml
Subpackage Html
- Other versions of JHtml::calendar
User contributed notes[edit]
Code Examples[edit]