JHtmlBehavior/calendar
From Joomla! Documentation
< API16:JHtmlBehaviorRevision as of 21:56, 13 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)
Revision as of 21:56, 13 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)
The "API16" 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.
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax[edit]
static calendar()
Defined in[edit]
libraries/joomla/html/html/behavior.php
Importing[edit]
jimport( 'joomla.html.html.behavior' );
Source Body[edit]
public static function calendar()
{
$document = &JFactory::getDocument();
JHTML::_('stylesheet','system/calendar-jos.css', array(' title' => JText::_('green') ,' media' => 'all'), true);
JHTML::_('script','system/calendar.js', false, true);
JHTML::_('script','system/calendar-setup.js', false, true);
$translation = JHtmlBehavior::_calendartranslation();
if ($translation) {
$document->addScriptDeclaration($translation);
}
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples[edit]
<CodeExamplesForm />