API16

Difference between revisions of "JHtmlBehavior/calendar"

From Joomla! Documentation

< API16:JHtmlBehavior
(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JHtmlBehavior/cal...)
 
m (removing red link to edit, no existant pages)
Line 1: Line 1:
 
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JHtmlBehavior/calendar|Edit Descripton]]<nowiki>]</nowiki>
+
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
</span>
  
{{Description:JHtmlBehavior/calendar}}
+
<! removed transcluded page call, red link never existed >
  
 
===Syntax===
 
===Syntax===
Line 32: Line 31:
  
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JHtmlBehavior/calendar|Edit See Also]]<nowiki>]</nowiki>
+
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JHtmlBehavior/calendar}}
+
<! removed transcluded page call, red link never existed >
  
 
===Examples===
 
===Examples===
Line 47: Line 46:
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>
 +
[[Category:Archived pages API16]]

Revision as of 21:56, 13 May 2013

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 />