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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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