Stud.IP
4.2 Revision
|
Namespaces | |
resources | |
Functions | |
closeStructure ($resource_id) | |
updateStructure ($resource_id, $root_id, $level) | |
Variables | |
$GLOBALS ['messageForUsers'] = '' | |
foreach(words('view view_mode quick_view quick_view_mode') as $parameter_name) | $change_schedule_repeat_quantity = Request::option('change_schedule_repeat_quantity') |
else | $view = $_SESSION['resources_data']["view"] |
else | $view_mode = $_SESSION['resources_data']["view_mode"] |
else | $quick_view_mode = $_SESSION['resources_data']["view_mode"] |
$structure_open = Request::option('structure_open') | |
if(Request::option('actual_object')) | $structure_close = Request::option('structure_close') |
$pre_move_object = Request::option('pre_move_object') | |
if(($view=="search")||($view=="edit_request")) | $create_hierachie_level = Request::option('create_hierachie_level') |
if($view=="create_hierarchie"|| $create_hierachie_level) | $create_object = Request::option('create_object') |
if($create_object) | $kill_object = Request::option('kill_object') |
if($kill_object) | $cancel_edit = Request::option('cancel_edit') |
if($cancel_edit) | $target_object = Request::option('target_object') |
if($target_object) | $change_structure_object = Request::option('change_structure_object') |
if($change_structure_object) | $change_object_schedules = Request::option('change_object_schedules') |
if($change_object_schedules) | $change_object_properties = Request::option('change_object_properties') |
if($change_object_properties &&Request::isPost()) if(Request::option('change_object_perms')) if((Request::option('set_lockable_recursiv'))||(Request::option('unset_lockable_recursiv'))) if((Request::quoted('add_type'))||(Request::option('delete_type'))||(Request::option('delete_type_property_id'))||(Request::option('change_categories'))) if(Request::submittedSome('_add_property', '_send_property_type')||Request::option('delete_property')) if((Request::option('add_root_user'))||(Request::option('delete_root_user_id'))) if(Request::option('change_global_settings')) if(Request::option('create_lock')) | $edit_lock = Request::option('edit_lock') |
if($edit_lock) if((Request::submitted('lock_sent'))) | $kill_lock = Request::option('kill_lock') |
if($kill_lock) if($_SESSION['resources_data']['schedule_week_offset']==null) if($view=="view_schedule"|| $view=="openobject_schedule") if(Request::option('show_repeat_mode') &&(Request::submitted('send_schedule_repeat_mode'))) if(Request::get('time_range')) if($view=="search") if(Request::submitted('tools_requests_sem_choose_button')||Request::get('tools_requests_sem_choose')) if($view=="view_requests_schedule") switch(Request::option('skip_closed_requests')) if(Request::int('cancel_edit_request_x')||Request::submitted('cancel_edit_request')) if(Request::submitted('start_multiple_mode')||(Request::option('single_request'))) | $selected_resource_id = Request::optionArray('selected_resource_id') |
if(Request::option('show_msg')) if($ObjectPerms) | else |
closeStructure | ( | $resource_id | ) |
updateStructure | ( | $resource_id, | |
$root_id, | |||
$level | |||
) |
changed for advanced room searches
search whole term
<< changed for advanced room searches
if ( $kill_object) $cancel_edit = Request::option('cancel_edit') |
if ( $change_object_schedules) $change_object_properties = Request::option('change_object_properties') |
if ( $change_structure_object) $change_object_schedules = Request::option('change_object_schedules') |
foreach (words( 'view view_mode quick_view quick_view_mode') as $parameter_name) $change_schedule_repeat_quantity = Request::option('change_schedule_repeat_quantity') |
if ( $target_object) $change_structure_object = Request::option('change_structure_object') |
if (( $view=="search")||( $view=="edit_request")) $create_hierachie_level = Request::option('create_hierachie_level') |
if ( $view=="create_hierarchie"||$create_hierachie_level) $create_object = Request::option('create_object') |
if ( $change_object_properties &&Request::isPost()) if (Request::option( 'change_object_perms')) if ((Request::option( 'set_lockable_recursiv'))||(Request::option( 'unset_lockable_recursiv'))) if ((Request::quoted( 'add_type'))||(Request::option( 'delete_type'))||(Request::option( 'delete_type_property_id'))||(Request::option( 'change_categories'))) if (Request::submittedSome( '_add_property', '_send_property_type')||Request::option( 'delete_property')) if ((Request::option( 'add_root_user'))||(Request::option( 'delete_root_user_id'))) if (Request::option( 'change_global_settings')) if (Request::option( 'create_lock')) $edit_lock = Request::option('edit_lock') |
$GLOBALS[ 'messageForUsers'] = '' |
if ( $edit_lock) if ((Request::submitted( 'lock_sent'))) $kill_lock = Request::option('kill_lock') |
if ( $create_object) $kill_object = Request::option('kill_object') |
$pre_move_object = Request::option('pre_move_object') |
else $quick_view_mode = $_SESSION['resources_data']["view_mode"] |
if ( $kill_lock) if ( $_SESSION[ 'resources_data'][ 'schedule_week_offset']==null) if ( $view=="view_schedule"||$view=="openobject_schedule") if (Request::option( 'show_repeat_mode') &&(Request::submitted( 'send_schedule_repeat_mode'))) if (Request::get( 'time_range')) if ( $view=="search") if (Request::submitted( 'tools_requests_sem_choose_button')||Request::get( 'tools_requests_sem_choose')) if ( $view=="view_requests_schedule") switch (Request::option( 'skip_closed_requests')) if (Request::int( 'cancel_edit_request_x')||Request::submitted( 'cancel_edit_request')) if (Request::submitted( 'start_multiple_mode')||(Request::option( 'single_request'))) $selected_resource_id = Request::optionArray('selected_resource_id') |
if (Request::option( 'actual_object')) $structure_close = Request::option('structure_close') |
$structure_open = Request::option('structure_open') |
if ( $cancel_edit) $target_object = Request::option('target_object') |
else $view = $_SESSION['resources_data']["view"] |
else $view_mode = $_SESSION['resources_data']["view_mode"] |
if (Request::option( 'show_msg')) if ( $ObjectPerms) else |