Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
resourcesFunc.inc.php File Reference

Namespaces

namespace  resources

Functions

 allowCreateRooms ($user_id='')
 getLockPeriod ($type, $timestamp1='', $timestamp2='')
 isLockPeriod ($type, $timestamp='')
 changeLockableRecursiv ($resource_id, $state)
 getGlobalPerms ($user_id)
 getFormattedResult ($result, $mode="bad", $bad_message_text= '', $good_message_text= '')
 getDateAssigenedRoom ($date_id)
 getResourceObjectName ($id)
 getResourceObjectCategory ($id)
 getDateRoomRequest ($termin_id)
 getSeminarRoomRequest ($seminar_id)
 getMyRoomRequests ($user_id= '', $semester_id=null, $only_not_closed=true, $single_request=null)
 cmp_assign_events ($a, $b)
 cmp_resources ($a, $b)
 checkAvailableResources ($id)
 checkObjektAdministrablePerms ($resource_object_owner_id, $user_id='')
 search_administrable_seminars ($search_string='', $user_id='')
 search_administrable_objects ($search_string='', $user_id='', $sem=TRUE)
 search_my_objects ($search_string='', $user_id='', $sem=TRUE)
 search_admin_user ($search_string='')
 search_objects ($search_string='', $user_id='', $sem=TRUE)
 showSearchForm ($name, $search_string='', $user_only=FALSE, $administrable_objects_only=FALSE, $admins=FALSE, $allow_all=FALSE, $sem=TRUE, $img_dir="left")

Function Documentation

allowCreateRooms (   $user_id = '')

Here is the call graph for this function:

changeLockableRecursiv (   $resource_id,
  $state 
)

changeLockableRecursiv

sets the lockale option for all childs to state

Parameters
stringthe key for the resource object
booleanif set, all childs will be lockable
checkAvailableResources (   $id)

Here is the caller graph for this function:

checkObjektAdministrablePerms (   $resource_object_owner_id,
  $user_id = '' 
)

Here is the call graph for this function:

Here is the caller graph for this function:

cmp_assign_events (   $a,
  $b 
)
cmp_resources (   $a,
  $b 
)
getDateAssigenedRoom (   $date_id)
getDateRoomRequest (   $termin_id)

Here is the caller graph for this function:

getFormattedResult (   $result,
  $mode = "bad",
  $bad_message_text = '',
  $good_message_text = '' 
)

Here is the call graph for this function:

getGlobalPerms (   $user_id)

Here is the caller graph for this function:

getLockPeriod (   $type,
  $timestamp1 = '',
  $timestamp2 = '' 
)

Here is the caller graph for this function:

getMyRoomRequests (   $user_id = '',
  $semester_id = null,
  $only_not_closed = true,
  $single_request = null 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getResourceObjectCategory (   $id)
getResourceObjectName (   $id)

Here is the caller graph for this function:

getSeminarRoomRequest (   $seminar_id)

Here is the caller graph for this function:

isLockPeriod (   $type,
  $timestamp = '' 
)

isLockPeriod

determines, if a lock period could be found in resources_locks and locking is active

Parameters
intthe timestamp, if left, the actual time
Returns
boolean true or false

Here is the caller graph for this function:

search_admin_user (   $search_string = '')

Here is the caller graph for this function:

search_administrable_objects (   $search_string = '',
  $user_id = '',
  $sem = TRUE 
)

Here is the call graph for this function:

Here is the caller graph for this function:

search_administrable_seminars (   $search_string = '',
  $user_id = '' 
)

Here is the caller graph for this function:

search_my_objects (   $search_string = '',
  $user_id = '',
  $sem = TRUE 
)

Here is the caller graph for this function:

search_objects (   $search_string = '',
  $user_id = '',
  $sem = TRUE 
)

Here is the caller graph for this function:

showSearchForm (   $name,
  $search_string = '',
  $user_only = FALSE,
  $administrable_objects_only = FALSE,
  $admins = FALSE,
  $allow_all = FALSE,
  $sem = TRUE,
  $img_dir = "left" 
)

Here is the call graph for this function:

Here is the caller graph for this function: