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

Public Member Functions

 SeminarEvent ($id='', $properties=NULL, $sem_id='', $permission=NULL)
 
 setCategory ($category)
 
 toStringCategories ()
 
 getSeminarId ()
 
 createRepeat ()
 
 getRepeat ($index='')
 
 setSeminarId ($id)
 
 restore ($id='')
 
 getSemName ()
 
 setSemName ($name)
 
 getType ()
 
 getTitle ()
 
 setWritePermission ($perm)
 
 haveWritePermission ()
 
 getUid ()
 
 createUid ($id)
 
 getCategory ()
 
 getCategoryStyle ($image_size='small')
 
 getEditorId ()
 
 isDayEvent ()
 
- 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

 $sem_id = ''
 
 $sem_write_perm = FALSE
 
 $driver
 
- 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

◆ createRepeat()

createRepeat ( )
Here is the caller graph for this function:

◆ createUid()

createUid (   $id)
Here is the caller graph for this function:

◆ getCategory()

getCategory ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCategoryStyle()

getCategoryStyle (   $image_size = 'small')
Here is the call graph for this function:

◆ getEditorId()

getEditorId ( )

◆ getRepeat()

getRepeat (   $index = '')
Here is the call graph for this function:

◆ getSeminarId()

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

◆ getSemName()

getSemName ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTitle()

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

◆ getType()

getType ( )

◆ getUid()

getUid ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ haveWritePermission()

haveWritePermission ( )
Here is the caller graph for this function:

◆ isDayEvent()

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

◆ restore()

restore (   $id = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SeminarEvent()

SeminarEvent (   $id = '',
  $properties = NULL,
  $sem_id = '',
  $permission = NULL 
)
Here is the call graph for this function:

◆ setCategory()

setCategory (   $category)

Changes the category of this event.

See config.inc.php for further information and values.

After calling this method, the method isModified() returns TRUE.

public

Parameters
int$categorya valid integer representation of a category (see config.inc.php)
Returns
boolean TRUE if the value of $category is valid, otherwise FALSE

◆ setSeminarId()

setSeminarId (   $id)

◆ setSemName()

setSemName (   $name)

◆ setWritePermission()

setWritePermission (   $perm)

◆ toStringCategories()

toStringCategories ( )

Returns the name of the category.

public

Returns
String the name of the category
Here is the call graph for this function:

Field Documentation

◆ $driver

$driver

◆ $sem_id

$sem_id = ''

◆ $sem_write_perm

$sem_write_perm = FALSE

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