Member Function Documentation
createRepeat |
( |
|
$r_rule, |
|
|
|
$start, |
|
|
|
$end |
|
) |
| |
Sets the recurrence rule of this event
The possible repetitions are: SINGLE, DAILY, WEEKLY, MONTHLY, YEARLY
Returns a unique ID
public
- Returns
- String the unique ID
Returns the index of a category. See config.inc.php $PERS_TERMIN_KAT.
public
- Returns
- int the index of the category
Reimplemented from Event.
getCategoryStyle |
( |
|
$image_size = 'small' | ) |
|
Returns an array with the path to a background image (index 'image') and the color (index 'color') of a category. If $image_size is 'small' returns th path to the smaller version of the image. See config.inc.php $PERS_TERMIN_KAT.
public
- Parameters
-
$image_size | the size of the image ('small' or 'big') |
- Returns
- array image path and color
Reimplemented from Event.
setExceptions |
( |
|
$exceptions | ) |
|
toStringAccessibility |
( |
| ) |
|
Returns the names of the categories.
public
- Returns
- String the name of the category
toStringDate |
( |
|
$mod = 'SHORT' | ) |
|
Returns the string representation of start- and end-time
Without parameters it returns the short version:
12:30 - 09:45
If $mod = 'LONG' it returns the long version:
Monday, 20.03.2004 12:30 - Tuesday, 21.03.2004 09:45
If $mod = 'SHORT_DAY' it returns the long version with short day names
Mo. 20.03.2004 12:30 - Tu. 21.03.2004 09:45
public
- Parameters
-
String | $mod | 'LONG', 'SHORT' or 'SHORT_DAY' |
Reimplemented from Event.
Returns a string representation of the recurrence rule
public
- Returns
- String the recurrence rule - human readable
Field Documentation
The documentation for this class was generated from the following file: