Initialize the class:
include_once('easyphpeventcalendar.class.php');
$calendar = new easyphpeventcalendar;
Configuration:
$calendar -> Gfxurl = (string) // Provide the path to the class gfx directory
$calendar -> Days = (array) // Optional to provide Days of the week in other langauge
[0]: (string) Sunday
[1]: (string) Monday
[2]: (string) Tuesday
[3]: (string) Wednesday
[4]: (string) Thursday
[5]: (string) Friday
[6]: (string) Saturday
$calendar -> Months = (array) // Optional to provide Months of the year in other language
[0]: (string) January
[1]: (string) February
[2]: (string) March
[3]: (string) April
[4]: (string) May
[5]: (string) June
[6]: (string) July
[7]: (string) August
[8]: (string) September
[9]: (string) October
[10]: (string) November
[11]: (string) December
$calendar -> Events[] = (array) // Add new events
[0]: (array) [0] (string) Date of event in format YYYYMMDD
[1] (string) Event description as text/html
[x]: (array) [0] (string) Date of event in format YYYYMMDD
[1] (string) Event description as text/html
|