system_vircal_ardb Class Reference

Inheritance diagram for system_vircal_ardb:

vircal_ardb Collaboration diagram for system_vircal_ardb:

Collaboration graph
[legend]
List of all members.

Detailed Description

Singleton class that defines some System Virtual Calendars as array storage.

This class is probably just a temporary solution to store some fixed prefabbed virtual_calendar definition in a repository.

Calendars Provided

By this class the following calendars are provided:

0.9.37-a1

Date:
20060427
Version:
0.9.36-a4 added detection of http or https for list

0.9.36-a1 first version adapted for NAPI 3.1

Author:
jvl


Public Member Functions

string listing (int $detail=1)
 Provide a html listing of all available system calendars.
int rebuild_calendars ()
 Initialize the storage in $calendars according to user settings Create all the defined standard virtual system calendars.
 system_vircal_ardb ()
 Constructor, overwrites superclass constructor A initialisation of all the $calendars member is done by calling the method rebuild_calendars().


Member Function Documentation

string system_vircal_ardb::listing int $  detail = 1  ) 
 

Provide a html listing of all available system calendars.

Parameters:
$detail control in how much detail the listing provides: [0..1) => paths only, [1..2) => paths and description [100..) => dump
Returns:
a html page with a listing of the calendars and their description.

int system_vircal_ardb::rebuild_calendars  )  [virtual]
 

Initialize the storage in $calendars according to user settings Create all the defined standard virtual system calendars.

The calendars defined are:

  • /default.ics
  • /freebusy.ics (TBI)
    Note:
    at the moment the default will only be available for logged-in users
    Returns:
    the number of entries set in $calendars

Reimplemented from vircal_ardb.


Generated on Thu Jun 8 22:17:13 2006 for IcalSrv-API by  doxygen 1.4.6