Stud.IP  2.5 Revision
DbCalendarEvent Class Reference
Inheritance diagram for DbCalendarEvent:
Inheritance graph
Collaboration diagram for DbCalendarEvent:
Collaboration graph

Public Member Functions

 DbCalendarEvent (&$calendar, $event_id='', $properties=NULL)
 
 save ()
 
 delete ()
 
 restore ($event_id)
 
 update ($new_event)
 
- Public Member Functions inherited from CalendarEvent
 CalendarEvent ($properties, $id='', $user_id='', $permission=NULL)
 
 getExpire ()
 
 setImportDate ($import_date=NULL)
 
 getImportDate ()
 
 toStringCategories ()
 
 getTs ()
 
 getUserId ()
 
 getRepeat ($index='')
 
 getType ()
 
 setType ($type)
 
 getPriority ()
 
 setPriority ($priority)
 
 toStringPriority ()
 
 toStringAccessibility ()
 
 setRepeat ($r_rule)
 
 createRepeat ($r_rule, $start, $end)
 
 getUid ()
 
 getCategory ()
 
 getAllCategories ()
 
 getCategoryStyle ($image_size='small')
 
 createUniqueId ()
 
 toStringRecurrence ()
 
 getExceptions ()
 
 setExceptions ($exceptions)
 
 toStringDate ($mod='SHORT')
 
 getEditorId ()
 
 getAuthorId ()
 
- Public Member Functions inherited from Event
 Event ($properties, $permission=NULL)
 
 getPermission ()
 
 setPermission ($perm)
 
 havePermission ($perm)
 
 getProperty ($property_name="")
 
 setProperty ($property_name, $value)
 
 setId ($id)
 
 getId ()
 
 getAccessibility ()
 
 getTitle ()
 
 getStart ()
 
 getEnd ()
 
 getCategory ()
 
 getStudipCategory ()
 
 getDescription ()
 
 getDuration ()
 
 getLocation ()
 
 getMakeDate ()
 
 getImportDate ()
 
 setMakeDate ($timestamp='')
 
 getChangeDate ()
 
 setChangeDate ($timestamp='')
 
 isModified ()
 
 setDescription ($description)
 
 setLocation ($location)
 
 setStart ($start)
 
 setEnd ($end)
 
 isDayEvent ()
 
 setDayEvent ()
 
 setCategory ($category)
 
 setTitle ($title='')
 
 toStringDate ($mod='SHORT')
 
 getExceptions ()
 
 getSeminarId ()
 

Data Fields

 $driver
 
- Data Fields inherited from CalendarEvent
 $ts
 
 $user_id
 
 $import_date = -1
 
 $editor = ''
 
- Data Fields inherited from Event
const PERMISSION_FORBIDDEN = 0
 
const PERMISSION_CONFIDENTIAL = 1
 
const PERMISSION_READABLE = 2
 
const PERMISSION_WRITABLE = 4
 
 $id
 
 $properties = array()
 
 $chng_flag = false
 
 $permission = Event::PERMISSION_WRITABLE
 

Member Function Documentation

◆ DbCalendarEvent()

DbCalendarEvent ( $calendar,
  $event_id = '',
  $properties = NULL 
)
Here is the call graph for this function:

◆ delete()

delete ( )
Here is the call graph for this function:

◆ restore()

restore (   $event_id)
Here is the caller graph for this function:

◆ save()

save ( )
Here is the call graph for this function:

◆ update()

update (   $new_event)
Here is the call graph for this function:

Field Documentation

◆ $driver

$driver

The documentation for this class was generated from the following file: