\Horde_Core_Ui_JsCalendar

The Horde_Core_Ui_JsCalendar:: class generates the necessary javascript code to allow the javascript calendar widget to be displayed on the page.

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
init()
weekdays()
fullWeekdays()
months()
No public properties found
No constants found
No protected methods found
$_initRun
N/A
No private methods found
No private properties found
N/A

Properties

$_initRun

$_initRun : boolean

Make sure init() is only run once.

Type

boolean

Methods

init()

init(array  $params = array()) 

Output the necessary javascript code to allow display of the calendar widget.

Parameters

array $params

Configuration parameters for the widget:

'click_month' - (boolean) If true, the month is clickable.
                DEFAULT: false
'click_week' - (boolean) If true, will display a clickable week.
               DEFAULT: false
'click_year' - (boolean) If true, the year is clickable.
               DEFAULT: false
'full_weekdays' - (boolean) Add full weekday localized list to
                  javascript object.
                  DEFAULT: false
'short_weekdays' - (boolean) Display only the first letter of
                   weekdays?
                   DEFAULT: false

weekdays()

weekdays() : array

Return the list of localized abbreviated weekdays.

Returns

array —

Abbreviated weekdays.

fullWeekdays()

fullWeekdays() : array

Return the list of localized full weekday names.

Returns

array —

Full weekday names.

months()

months() : array

Return the localized list of months.

Returns

array —

Month list.