◆ CalendarEvent()
| CalendarEvent |
( |
|
$properties, |
|
|
|
$id = '', |
|
|
|
$user_id = '', |
|
|
|
$permission = NULL |
|
) |
| |
◆ createRepeat()
| createRepeat |
( |
|
$r_rule, |
|
|
|
$start, |
|
|
|
$end |
|
) |
| |
Sets the recurrence rule of this event
The possible repetitions are: SINGLE, DAILY, WEEKLY, MONTHLY, YEARLY
◆ createUniqueId()
Returns a unique ID
public
- Returns
- String the unique ID
◆ getAllCategories()
Returns all categories (internal categories defined in config.inc.php $PERS_TERMIN_KAT and imported or user entered categories) as an array of category names.
- Returns
- array An array of category names.
◆ getAuthorId()
◆ getCategory()
Returns the index of a category. See config.inc.php $PERS_TERMIN_KAT.
public
- Returns
- int the index of the category
◆ getCategoryStyle()
| 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
◆ getEditorId()
◆ getExceptions()
◆ getExpire()
◆ getImportDate()
◆ getPriority()
◆ getRepeat()
◆ getTs()
◆ getType()
◆ getUid()
◆ getUserId()
◆ setExceptions()
| setExceptions |
( |
|
$exceptions | ) |
|
◆ setImportDate()
| setImportDate |
( |
|
$import_date = NULL | ) |
|
◆ setPriority()
◆ setRepeat()
◆ setType()
◆ toStringAccessibility()
| toStringAccessibility |
( |
| ) |
|
◆ toStringCategories()
Returns the names of the categories.
public
- Returns
- String the name of the category
◆ toStringDate()
| toStringDate |
( |
|
$mod = 'SHORT' | ) |
|
◆ toStringPriority()
◆ toStringRecurrence()
Returns a string representation of the recurrence rule
public
- Returns
- String the recurrence rule - human readable
◆ $editor
◆ $import_date
◆ $ts
◆ $user_id
The documentation for this class was generated from the following file: