Property | Type | Description | |
---|---|---|---|
$_initRun | boolean | Make sure init() is only run once. |
Method | Description | |
---|---|---|
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. |
public static fullWeekdays ( ) : array | ||
return | array | Full weekday names. |
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 |
protected static bool $_initRun | ||
return | boolean |