Stud.IP  2.5 Revision
Calendar Class Reference
Inheritance diagram for Calendar:
Inheritance graph
Collaboration diagram for Calendar:
Collaboration graph

Public Member Functions

 Calendar ($range_id)
 
getInstance ($range_id=NULL)
 
 havePermission ($permission)
 
 getPermission ()
 
 setPermission ($permission)
 
 checkPermission ($permission)
 
 GetPermissionByUserRange ($user_id, $range_id)
 
 getRange ()
 
 getUserId ()
 
 getUserName ()
 
 getGroupName ()
 
 getGroups ()
 
 getUsers ()
 
 getAllContactGroups ()
 
 getHeadline ()
 
 createEvent ($properties=NULL)
 
 addEvent ($event_id='', $selected_users=NULL)
 
 addEventObj (&$event, $updated, $selected_users=NULL)
 
 getDefaultUserSettings ($index=NULL)
 
 updateBindSeminare ()
 
 getBindInstitute ($user_id=NULL, $all=NULL, $names=false)
 
 explodeDate ($dateFromPicker)
 
 setUserSettings ($user_settings=NULL)
 
 getUserSettings ($index=NULL)
 
 setEventProperties (&$calendar_form_data, $mod)
 
 getEventProperties (&$calendar_form_data)
 
 checkFormData (&$calendar_form_data)
 
 toStringEdit ($atime, $termin_id=NULL, $type='pers', $devent=false)
 
 checkRestriction ($properties, $restrictions)
 
 countEvents ()
 
 GetSeminarActivatedCalendar ()
 
 GetInstituteActivatedCalendar ()
 
 GetLecturers ()
 

Static Public Member Functions

static getBindSeminare ($user_id=NULL, $all=NULL, $names=false)
 

Data Fields

const CALENDAR_END = 0x7FFFFFFF
 
const PERMISSION_OWN = 16
 
const PERMISSION_ADMIN = 8
 
const PERMISSION_WRITABLE = 4
 
const PERMISSION_READABLE = 2
 
const PERMISSION_FORBIDDEN = 1
 
const RANGE_USER = 1
 
const RANGE_GROUP = 2
 
const RANGE_SEM = 3
 
const RANGE_INST = 4
 
 $user_name = ''
 
 $user_id = ''
 
 $permission = Calendar::PERMISSION_WRITABLE
 
 $headline = ''
 
 $user_settings
 
 $event = NULL
 
 $range
 

Member Function Documentation

◆ addEvent()

addEvent (   $event_id = '',
  $selected_users = NULL 
)
Here is the call graph for this function:

◆ addEventObj()

addEventObj ( $event,
  $updated,
  $selected_users = NULL 
)
Here is the caller graph for this function:

◆ Calendar()

Calendar (   $range_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkFormData()

checkFormData ( $calendar_form_data)
Here is the call graph for this function:

◆ checkPermission()

checkPermission (   $permission)
Here is the caller graph for this function:

◆ checkRestriction()

checkRestriction (   $properties,
  $restrictions 
)
Here is the caller graph for this function:

◆ countEvents()

countEvents ( )

◆ createEvent()

createEvent (   $properties = NULL)
Here is the caller graph for this function:

◆ explodeDate()

explodeDate (   $dateFromPicker)
Here is the caller graph for this function:

◆ getAllContactGroups()

getAllContactGroups ( )
Here is the call graph for this function:

◆ getBindInstitute()

getBindInstitute (   $user_id = NULL,
  $all = NULL,
  $names = false 
)

◆ getBindSeminare()

static getBindSeminare (   $user_id = NULL,
  $all = NULL,
  $names = false 
)
static

Returns all ids of seminars the given user wants to include in his calendar. If the parameter all is true, it returns all seminars of the user.

Parameters
type$user_idthe id of the user
type$allif true, all users seminars are included
type$namesif true, the names of the seminars are included in the returned array
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDefaultUserSettings()

getDefaultUserSettings (   $index = NULL)
Here is the caller graph for this function:

◆ getEventProperties()

getEventProperties ( $calendar_form_data)

◆ getGroupName()

getGroupName ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getGroups()

getGroups ( )
Here is the call graph for this function:

◆ getHeadline()

getHeadline ( )
Here is the call graph for this function:

◆ getInstance()

& getInstance (   $range_id = NULL)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetInstituteActivatedCalendar()

GetInstituteActivatedCalendar ( )
Here is the call graph for this function:

◆ GetLecturers()

GetLecturers ( )
Here is the call graph for this function:

◆ getPermission()

getPermission ( )

◆ GetPermissionByUserRange()

GetPermissionByUserRange (   $user_id,
  $range_id 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRange()

getRange ( )
Here is the caller graph for this function:

◆ GetSeminarActivatedCalendar()

GetSeminarActivatedCalendar ( )
Here is the call graph for this function:

◆ getUserId()

getUserId ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUserName()

getUserName ( )

◆ getUsers()

getUsers ( )
Here is the call graph for this function:

◆ getUserSettings()

getUserSettings (   $index = NULL)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ havePermission()

havePermission (   $permission)
Here is the caller graph for this function:

◆ setEventProperties()

setEventProperties ( $calendar_form_data,
  $mod 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPermission()

setPermission (   $permission)

◆ setUserSettings()

setUserSettings (   $user_settings = NULL)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toStringEdit()

toStringEdit (   $atime,
  $termin_id = NULL,
  $type = 'pers',
  $devent = false 
)
Here is the call graph for this function:

◆ updateBindSeminare()

updateBindSeminare ( )
Here is the call graph for this function:

Field Documentation

◆ $event

$event = NULL

◆ $headline

$headline = ''

◆ $permission

◆ $range

$range

◆ $user_id

$user_id = ''

◆ $user_name

$user_name = ''

◆ $user_settings

$user_settings

◆ CALENDAR_END

const CALENDAR_END = 0x7FFFFFFF

◆ PERMISSION_ADMIN

const PERMISSION_ADMIN = 8

◆ PERMISSION_FORBIDDEN

const PERMISSION_FORBIDDEN = 1

◆ PERMISSION_OWN

const PERMISSION_OWN = 16

◆ PERMISSION_READABLE

const PERMISSION_READABLE = 2

◆ PERMISSION_WRITABLE

const PERMISSION_WRITABLE = 4

◆ RANGE_GROUP

const RANGE_GROUP = 2

◆ RANGE_INST

const RANGE_INST = 4

◆ RANGE_SEM

const RANGE_SEM = 3

◆ RANGE_USER

const RANGE_USER = 1

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