Squiz Matrix
4.12.2
|
Public Member Functions | |
JS_Calendar () | |
changeSetting ($name, $value) | |
init () | |
isInit () | |
paint ($prefix, $container_name='', $popup=false, $container_exists=false) | |
Data Fields | |
$settings | |
Definition at line 29 of file js_calendar.inc.
changeSetting | ( | $name, | |
$value | |||
) |
Change a setting for the calendar
These settings are passed directly to the JS calendar object
public
Definition at line 67 of file js_calendar.inc.
init | ( | ) |
Initiaise the JS calendar if it has not already been
A global var is set to ensure this function only ever outputs content once. It can be called as many times as you want but it will only output content the first time (unless you get tricky with the global vars)
public
Definition at line 84 of file js_calendar.inc.
isInit | ( | ) |
Check if the JS Calendar has been initialised or not
public
Definition at line 108 of file js_calendar.inc.
JS_Calendar | ( | ) |
Constructor
Definition at line 54 of file js_calendar.inc.
paint | ( | $prefix, | |
$container_name = '' , |
|||
$popup = false , |
|||
$container_exists = false |
|||
) |
Prints the JS calendar
string | $prefix | a prefix to identify this calendar from others on the page |
string | $container_name | the id of the container (span, div, td etc) to hold the calendar, leave empty to use the default container |
boolean | $popup | display this calendar in a popup or not |
boolean | $container_exists | if true, the container wont be created, it must already exist in the html this parameter is only used if $container_name is specified |
public
Definition at line 129 of file js_calendar.inc.
$settings |
Definition at line 36 of file js_calendar.inc.