API17

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.

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


User contributed notes[edit]

Code Examples[edit]