◆ close()
"Close" the current context
◆ get()
Return sorm-object of currently active Stud.IP object
- Returns
- Course|Institute sorm-object of current context
◆ getArtNum()
Get SemClass-number (kind of) for current context. Only works for seminar or institute
- Returns
- int
◆ getClass()
Get string representation of object-type fpr legacy support
- Returns
- string returns 'sem' or 'inst'
◆ getHeaderLine()
Get Fullname of current context, to use it in the context-title
- Returns
- string or null if no context is available
◆ getId()
Return id of currently active Stud.IP object
- Returns
- string md5-hash
◆ getType()
◆ getTypeName()
Return human readable text for current context, excluding user
- Returns
- string
◆ isCourse()
Checks if current context is a seminar
- Returns
- bool
◆ isInstitute()
Checks if current context is an institute
- Returns
- bool
◆ isUser()
Checks if current context is an user
- Returns
- bool
◆ set()
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
-
◆ COURSE
Constants to check for type of context
◆ INSTITUTE
const INSTITUTE = 'institute' |
◆ USER
The documentation for this class was generated from the following file: