Stud.IP  4.2 Revision
IcalExport Class Reference
Collaboration diagram for IcalExport:
Collaboration graph

Static Public Member Functions

static setKeyLength ($length)
 
static makeKey ()
 
static getKeyByUser ($user_id)
 
static getUserIdByKey ($key)
 
static setKey ($user_id)
 
static deleteKey ($user_id)
 

Member Function Documentation

◆ deleteKey()

static deleteKey (   $user_id)
static

Deletes the key for the user with the given user_id.

Parameters
type$user_id
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getKeyByUser()

static getKeyByUser (   $user_id)
static

Returns the key by given user_id. Returns false if no valid key was found.

Parameters
string$user_id
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUserIdByKey()

static getUserIdByKey (   $key)
static

Returns user_id by given key. Returns false if no valid user_id was found.

Parameters
type$short_id
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeKey()

static makeKey ( )
static

Returns a key string.

Returns
string

◆ setKey()

static setKey (   $user_id)
static

Sets a new key for the user with the given user_id.

Parameters
type$user_id
Returns
string the new key
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setKeyLength()

static setKeyLength (   $length)
static

Sets the lentgh of the key

Parameters
int$length

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