API16

JHtmlBehavior/calendar

< API16:JHtmlBehavior

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 transcluded page call, red link never existed >

Syntax

static calendar()


Defined in

libraries/joomla/html/html/behavior.php

Importing

jimport( 'joomla.html.html.behavior' );

Source Body

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 transcluded page call, red link never existed >

Examples

Code Examples


Advertisement