Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 ()
 getStart ()
 getEnd ()
 getStudipCategory ()
 getDescription ()
 getDuration ()
 getLocation ()
 getMakeDate ()
 getImportDate ()
 setMakeDate ($timestamp= '')
 getChangeDate ()
 setChangeDate ($timestamp= '')
 isModified ()
 setDescription ($description)
 setLocation ($location)
 setStart ($start)
 setEnd ($end)
 setDayEvent ()
 setTitle ($title= '')
 toStringDate ($mod= 'SHORT')
 getExceptions ()

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 ( )

Here is the caller graph for this function:

createUid (   $id)

Here is the caller graph for this function:

getCategory ( )

Returns the categories.

public

Returns
String the categories

Reimplemented from Event.

Here is the call graph for this function:

Here is the caller graph for this function:

getCategoryStyle (   $image_size = 'small')

Here is the call graph for this function:

getEditorId ( )
getRepeat (   $index = '')

Here is the call graph for this function:

getSeminarId ( )

Reimplemented from Event.

Here is the call graph for this function:

getSemName ( )

Here is the call graph for this function:

Here is the caller graph for this function:

getTitle ( )

Returns the title of this event.

public

Returns
String the title of this event

Reimplemented from Event.

Here is the call graph for this function:

getType ( )
getUid ( )

Here is the call graph for this function:

Here is the caller graph for this function:

haveWritePermission ( )

Here is the caller graph for this function:

isDayEvent ( )

Reimplemented from Event.

Here is the call graph for this function:

restore (   $id = '')

Here is the call graph for this function:

Here is the caller graph for this function:

SeminarEvent (   $id = '',
  $properties = NULL,
  $sem_id = '',
  $permission = NULL 
)

Here is the call graph for this function:

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

Reimplemented from Event.

setSeminarId (   $id)
setSemName (   $name)
setWritePermission (   $perm)
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
$sem_id = ''
$sem_write_perm = FALSE

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