Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
Studip Class Reference
Inheritance diagram for Studip:
Inheritance graph
Collaboration diagram for Studip:
Collaboration graph

Static Public Member Functions

static detect ()
- Static Public Member Functions inherited from Base
static addType ($type, $class)
static removeType ($type)
static find ($id)
static findAll ()
static create ($type)
static detectConsumer ($type=null, $request_type=null)

Additional Inherited Members

- Public Member Functions inherited from Base
 __construct ($id=null, $user=null)
 getPermissions ()
 setUser ($user)
 hasUser ()
 getUser ()
- Protected Attributes inherited from Base
 $user = null
- Static Protected Attributes inherited from Base
static $known_types = array()

Detailed Description

Stud.IP Session Consumer for the rest api

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL 2 or later
Since
Stud.IP 3.0

Member Function Documentation

static detect ( )
static

Detects a user via the Stud.IP session. If a session is present and valid, the auth and user object have already been set up by stud.ip functions, so we just need to check if these are present.

Returns
mixed Instance of self if authentication was detected, false otherwise

Reimplemented from Base.


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