Stud.IP  jlu_4.3 Revision 64286
Resources_RoomRequestController Class Reference
Inheritance diagram for Resources_RoomRequestController:
Inheritance graph
Collaboration diagram for Resources_RoomRequestController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 
 overview_action ()
 
 index_action ($request_id=null)
 
 add_action ($resource_id=null)
 
 edit_action ($request_id=null)
 
 delete_action ($request_id=null)
 
 resolve_action ($request_id=null)
 
 decline_action ($request_id=null)
 
 unbound_request_plan_action ($room_id=null)
 
 export_list_action ()
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to='')
 
 link_for ($to='')
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter=';', $enclosure='"')
 
 relay ($to_uri)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 

Protected Member Functions

 getFilteredRoomRequests ()
 
 getRoomAvailability (Room $room, $time_intervals=[])
 
 addEditHandler ($mode='add', $id_parameter)
 
 getSingleDateDataForExportRow (CourseDate $date)
 
 getMetadateDataForExportRow (SeminarCycleDate $metadate)
 
- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 

Additional Inherited Members

- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $_autobind = false
 

Detailed Description

Resources_RequestController contains resource request functionality.

Member Function Documentation

◆ add_action()

add_action (   $resource_id = null)

This action handles resource requests that are not bound to a course or another Stud.IP object.

Here is the call graph for this function:

◆ addEditHandler()

addEditHandler (   $mode = 'add',
  $id_parameter 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ before_filter()

before_filter ( $action,
$args 
)

Reimplemented from StudipController.

Here is the call graph for this function:

◆ decline_action()

decline_action (   $request_id = null)
Here is the call graph for this function:

◆ delete_action()

delete_action (   $request_id = null)
Here is the call graph for this function:

◆ edit_action()

edit_action (   $request_id = null)
Here is the call graph for this function:

◆ export_list_action()

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

◆ getFilteredRoomRequests()

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

◆ getMetadateDataForExportRow()

getMetadateDataForExportRow ( SeminarCycleDate  $metadate)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRoomAvailability()

getRoomAvailability ( Room  $room,
  $time_intervals = [] 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSingleDateDataForExportRow()

getSingleDateDataForExportRow ( CourseDate  $date)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ index_action()

index_action (   $request_id = null)
Here is the call graph for this function:

◆ overview_action()

overview_action ( )

Shows all requests. By default, only open requests are shown.

Here is the call graph for this function:

◆ resolve_action()

resolve_action (   $request_id = null)

This action displays information about a request that are relevant before resolving it. The view of this action redirects to resources/booking/add when one wishes to book a room.

Here is the call graph for this function:

◆ unbound_request_plan_action()

unbound_request_plan_action (   $room_id = null)
Here is the call graph for this function:

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