Actions

API17

Difference between revisions of "JHtml::calendar"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtml::calendar|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtml::calendar|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtml::calendar ($value, $name, $id, $format= '%Y-%m-%d', $attribs=null)
+
public static function calendar (
 +
        $value
 +
        $name
 +
        $id
 +
        $format= '%Y-%m-%d'
 +
        $attribs=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 45: Line 50:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 689 of libraries/joomla/html/html.php
===Defined in===
+
libraries/joomla/html/html.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtml::calendar source code''' on [[jplatform:html/html.php#cl-681|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtml/11.1|JHtml]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtml::calendar|Other versions of JHtml::calendar]]
 +
{{SeeAlso:JHtml::calendar}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtml::calendar|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtml::calendar|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtml/11.1|JHtml]]
+
===User contributed notes===
* [[JHtml::calendar|Other versions of this method]]
+
{{SeeAlso:JHtml::calendar}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 65: Line 69:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtml]][[Category:JHtml::calendar]]</noinclude>
 
<noinclude>[[Category:JHtml]][[Category:JHtml::calendar]]</noinclude>

Revision as of 21:04, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtml::calendar

Description

Displays a calendar control field.

Description:JHtml::calendar [Edit Descripton]

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

SeeAlso:JHtml::calendar [Edit See Also]

User contributed notes

<CodeExamplesForm />