PHP Classes

File: API.txt

Recommend this page to a friend!
  Classes of JN   Easy PHP Event Calendar   API.txt   Download  
File: API.txt
Role: Documentation
Content type: text/plain
Description: How to use the class
Class: Easy PHP Event Calendar
Display a calendar with events
Author: By
Last change:
Date: 15 years ago
Size: 2,227 bytes
 

Contents

Class file image Download
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