Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
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)
 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 (   $event_id = '',
  $selected_users = NULL 
)

Here is the call graph for this function:

addEventObj ( $event,
  $updated,
  $selected_users = NULL 
)

Reimplemented in SingleCalendar.

Here is the caller graph for this function:

Calendar (   $range_id)

Here is the call graph for this function:

Here is the caller graph for this function:

checkFormData ( $calendar_form_data)

Here is the call graph for this function:

checkPermission (   $permission)

Here is the caller graph for this function:

checkRestriction (   $properties,
  $restrictions 
)

Here is the caller graph for this function:

countEvents ( )
createEvent (   $properties = NULL)

Reimplemented in GroupCalendar.

Here is the caller graph for this function:

getAllContactGroups ( )

Here is the call graph for this function:

getBindInstitute (   $user_id = NULL,
  $all = NULL,
  $names = false 
)
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 (   $index = NULL)

Here is the caller graph for this function:

getEventProperties ( $calendar_form_data)
getGroupName ( )

Here is the call graph for this function:

Here is the caller graph for this function:

getGroups ( )

Here is the call graph for this function:

getHeadline ( )

Here is the call graph for this function:

& getInstance (   $range_id = NULL)

Here is the call graph for this function:

Here is the caller graph for this function:

GetInstituteActivatedCalendar ( )

Here is the call graph for this function:

GetLecturers ( )

Here is the call graph for this function:

getPermission ( )
GetPermissionByUserRange (   $user_id,
  $range_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getRange ( )

Here is the caller graph for this function:

GetSeminarActivatedCalendar ( )

Here is the call graph for this function:

getUserId ( )

Here is the call graph for this function:

Here is the caller graph for this function:

getUserName ( )
getUsers ( )

Here is the call graph for this function:

getUserSettings (   $index = NULL)

Here is the call graph for this function:

Here is the caller graph for this function:

havePermission (   $permission)

Here is the caller graph for this function:

setEventProperties ( $calendar_form_data,
  $mod 
)

Here is the call graph for this function:

Here is the caller graph for this function:

setPermission (   $permission)
setUserSettings (   $user_settings = NULL)

Here is the call graph for this function:

Here is the caller graph for this function:

toStringEdit (   $atime,
  $termin_id = NULL,
  $type = 'pers',
  $devent = false 
)

Here is the call graph for this function:

updateBindSeminare ( )

Here is the call graph for this function:

Field Documentation

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

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