$dateFormat =
[line 178]
Format of the returned day
Any combination allowed by PHP's date() function can be used
Note
You should never use hours, minutes and seconds in your format because you will always have "00:00" appended to your returned
date. If enableTimePicker is set to TRUE, selected hour and minute will be automatically appended
default is "m d Y"
$enableTimePicker =
[line 153]
If set to TRUE, a time picker will also be shown
Default is FALSE
Tags:
$firstDayOfWeek =
[line 189]
What day should be taken as the first day of week
Possible values range from 0 (Sunday) to 6 (Saturday)
default is 0 (Sunday)
$language =
[line 220]
Language file to use
The name of the php language file you wish to use from the /languages folder.
Without the extension! (i.e. "german" for the german language not "german.php")
default is "english"
$preselectedDate =
[line 162]
Preselects a date in the calendar
The date must be specified as a UNIX timestamp!
$selectableDatesRange =
[line 72]
An array of an unlimited number of arrays with three elements.
In these arrays of three elements the first one is the date representing the start of the range (inclusive), the second one is the date representing the end of the range (inclusive) and the third one represents how days should be skipped (i.e. "1" means every day in the range should be available for selection, "2" means every second day should be available for selection and so on)
Note that dates must be represented as UNIX timestamps!
Also note that the range of dates can be anywhere in between 1/1/1970 and 31/12/2038
/**
*
* Allow every second day starting from next Monday and up to next Friday
*
*/
)
Tags:
$selectableTimesRange =
[line 142]
An array of an unlimited number of arrays with six elements.
In these arrays of six elements the first one is the hour representing the start of the range (inclusive), the second one is the hour representing the end of the range (exclusive), the third one represents how hours should be skipped (i.e. "1" means every hour in the range should be available for selection, "2" means every second hour should be available for selection and so on), the fourth one is the minute representing the start of the range (inclusive), the fifth one is the minute representing the end of the range (exclusive) and the sixth one represents how minutes should be skipped (i.e. "15" means every 15th minute in the range should be available for selection, "30" means every 30th minute should be available for selection and so on),
An unlimited number of ranges can be specified.
Setting this property has sense only if enableTimePicker property is set to TRUE
/**
from hours 10 to 12 and minute 0 to 60 allow every hour and minute
*/
array(10, 12, 1, 0, 60, 1),
/**
also, from hours 12 to 18 and minutes 0 to 60 allow only 12, 14 and
16 hours to be selected (through a stepping of 2) and 0, 15, 30, 45
minutes (through a stepping of 15)
*/
array(12, 18, 2, 0, 60, 15),
)
Tags:
$selectableYearsRange =
[line 106]
An array of an unlimited number of arrays with three elements.
In these arrays of three elements the first one is the year representing the start of the range (inclusive), the second one is the year representing the end of the range (inclusive) and the third one represents how years should be skipped (i.e. "1" means every year in the range should be available for selection, "2" means every second year should be available for selection and so on)
/**
*
* Allow every second year starting with 2000 and up to the current year
* and also, every year from 1990 to 1996
*
*/
array(2000, date("Y"), 2),
array(1990, 1996, 1)
)
Setting values to this property will make the years show in a select box (rather than static text) enabling the user to quickly select a year from the given range
Tags:
$template =
[line 232]
Template folder to use
Note that only the folder of the template you wish to use needs to be specified. Inside the folder you must have the template.xtpl file which will be automatically loaded
default is "default"
$windowHeight =
[line 198]
Height of the calendar window
default is 250
$windowWidth =
[line 207]
Width of the calendar window
default is 300