API17

API17:JHtml::calendar

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples