PHP Класс Horde_Core_Ui_JsCalendar, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_initRun boolean Make sure init() is only run once.

Открытые методы

Метод Описание
fullWeekdays ( ) : array Return the list of localized full weekday names.
init ( array $params = [] ) Output the necessary javascript code to allow display of the calendar widget.
months ( ) : array Return the localized list of months.
weekdays ( ) : array Return the list of localized abbreviated weekdays.

Описание методов

fullWeekdays() публичный статический Метод

Return the list of localized full weekday names.
public static fullWeekdays ( ) : array
Результат array Full weekday names.

init() публичный статический Метод

Output the necessary javascript code to allow display of the calendar widget.
public static init ( array $params = [] )
$params array 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

months() публичный статический Метод

Return the localized list of months.
public static months ( ) : array
Результат array Month list.

weekdays() публичный статический Метод

Return the list of localized abbreviated weekdays.
public static weekdays ( ) : array
Результат array Abbreviated weekdays.

Описание свойств

$_initRun защищенное статическое свойство

Make sure init() is only run once.
protected static bool $_initRun
Результат boolean