"Close" the current context
Return sorm-object of currently active Stud.IP object
- Returns
- Course|Institute sorm-object of current context
Get SemClass-number (kind of) for current context. Only works for seminar or institute
- Returns
- int
Get string representation of object-type fpr legacy support
- Returns
- string returns 'sem' or 'inst'
Get Fullname of current context, to use it in the context-title
- Returns
- string or null if no context is available
Return id of currently active Stud.IP object
- Returns
- string md5-hash
Return human readable text for current context, excluding user
- Returns
- string
Checks if current context is a seminar
- Returns
- bool
Checks if current context is an institute
- Returns
- bool
Checks if current context is an user
- Returns
- bool
Set the context to the object denoted by the passed id. Usually there is no need to call this on your own, since seminar_open already does this for you!
- Parameters
-
- Exceptions
-
Constants to check for type of context
const INSTITUTE = 'institute' |
The documentation for this class was generated from the following file: