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

Static Public Member Functions

static checkDocuments (&$my_obj, $user_id, $object_id)
static checkLiterature (&$my_obj, $user_id, $object_id)
static checkOverview (&$my_obj, $user_id, $object_id)
static checkScm (&$my_obj, $user_id, $object_id)
static checkSchedule (&$my_obj, $user_id, $object_id)
static checkWiki (&$my_obj, $user_id, $object_id)
static checkElearning_interface (&$my_obj, $user_id, $object_id)
static checkVote (&$my_obj, $user_id, $object_id)
static getPluginNavigationForSeminar ($seminar_id, $visitdate)
static getCourses ($min_sem_key, $max_sem_key, $params=array())
static getDeputies ($user_id)
static getDeputieGroup ($range_id)
static getSelectedSemesters ($sem= 'all')
static getPreparedCourses ($sem="all", $params=array())
static checkParticipants (&$my_obj, $user_id, $object_id, $is_admission)
static getDocumentsVisitDate ($object_id, $user_id, $unreadable_folders=array())
static getAdditionalNavigations ($object_id, &$my_obj_values, $sem_class=null, $user_id)
static getSemTree ($course_id, $depth=false)
static getStudygroupId ()
static setObjectVisits (&$object, $object_id, $user_id, $timestamp=null)
static getObjectValues (&$course)
static getWaitingList ($user_id)
static getMyInstitutes ()
static groupBySemTree (&$sem_courses)
static groupByGruppe (&$sem_courses)
static groupBySemStatus (&$sem_courses)
static groupByTeacher (&$sem_courses)
static getStudygroups ()
static checkAdmissionParticipation ($course_id)
static calc_nav_elements ($my_obj, $group_field= 'sem_number')
static calc_single_navigation ($collection)
static array_rtrim ($array)

Member Function Documentation

static array_rtrim (   $array)
static

Trims an array from it's null value from the right.

Parameters
Array$arrayThe array to trim
Returns
array The trimmed array
Author
tlx
static calc_nav_elements (   $my_obj,
  $group_field = 'sem_number' 
)
static

Calc nav elements to get the table-column-width

Parameters
$my_obj
string$group_field
Returns
int

Here is the caller graph for this function:

static calc_single_navigation (   $collection)
static

Here is the caller graph for this function:

static checkAdmissionParticipation (   $course_id)
static

Here is the call graph for this function:

static checkDocuments ( $my_obj,
  $user_id,
  $object_id 
)
static

Check for changes in folders for a course

Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkElearning_interface ( $my_obj,
  $user_id,
  $object_id 
)
static
Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkLiterature ( $my_obj,
  $user_id,
  $object_id 
)
static
Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkOverview ( $my_obj,
  $user_id,
  $object_id 
)
static

Check for new news

Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkParticipants ( $my_obj,
  $user_id,
  $object_id,
  $is_admission 
)
static

Here is the call graph for this function:

static checkSchedule ( $my_obj,
  $user_id,
  $object_id 
)
static

Check for new dates

Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkScm ( $my_obj,
  $user_id,
  $object_id 
)
static

Check SCM for news

Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkVote ( $my_obj,
  $user_id,
  $object_id 
)
static

Check the voting system

Parameters
$my_obj
$user_id
null$modules

Here is the call graph for this function:

static checkWiki ( $my_obj,
  $user_id,
  $object_id 
)
static

Check for new entries in wiki

Parameters
$my_obj
$user_id
$modules

Here is the call graph for this function:

static getAdditionalNavigations (   $object_id,
$my_obj_values,
  $sem_class = null,
  $user_id 
)
static

Get the whole icon-navigation for a given course

Parameters
$object_id
$my_obj_values
null$sem_class
$user_id
Returns
array

Here is the call graph for this function:

Here is the caller graph for this function:

static getCourses (   $min_sem_key,
  $max_sem_key,
  $params = array() 
)
static

Get all courses vor given user in selected semesters

Here is the call graph for this function:

Here is the caller graph for this function:

static getDeputieGroup (   $range_id)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static getDeputies (   $user_id)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static getDocumentsVisitDate (   $object_id,
  $user_id,
  $unreadable_folders = array() 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static getMyInstitutes ( )
static

Get all user assigned institutes based on simple or map

Returns
array

Here is the call graph for this function:

Here is the caller graph for this function:

static getObjectValues ( $course)
static

This functions check all modules for changes (new documents,...) and adds a new icon-navigation item to given course This function will only add something if nothing exists to get better performance

Parameters
$course
$call(debug)

Here is the call graph for this function:

Here is the caller graph for this function:

static getPluginNavigationForSeminar (   $seminar_id,
  $visitdate 
)
static

Get the plugin icon navigation for a course

Parameters
$seminar_id
$visitdate
Returns
mixed

Here is the call graph for this function:

Here is the caller graph for this function:

static getPreparedCourses (   $sem = "all",
  $params = array() 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static getSelectedSemesters (   $sem = 'all')
static

Here is the call graph for this function:

Here is the caller graph for this function:

static getSemTree (   $course_id,
  $depth = false 
)
static
Parameters
$course_id
Returns
array

Here is the call graph for this function:

static getStudygroupId ( )
static

Returns the id for the studygroup name

Returns
Interger

Here is the call graph for this function:

static getStudygroups ( )
static

Here is the call graph for this function:

Here is the caller graph for this function:

static getWaitingList (   $user_id)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static groupByGruppe ( $sem_courses)
static

Here is the caller graph for this function:

static groupBySemStatus ( $sem_courses)
static

Here is the caller graph for this function:

static groupBySemTree ( $sem_courses)
static

Here is the caller graph for this function:

static groupByTeacher ( $sem_courses)
static

Here is the caller graph for this function:

static setObjectVisits ( $object,
  $object_id,
  $user_id,
  $timestamp = null 
)
static

This function reset all visits on every available modules

Parameters
$object
$object_id
$user_id
Returns
bool

Here is the call graph for this function:

Here is the caller graph for this function:


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