Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
Course_LtiController Class Reference
Inheritance diagram for Course_LtiController:

Public Member Functions

 before_filter (&$action, &$args)
 index_action ()
 iframe_action ()
 config_action ()
 save_config_action ()
 move_action ($position, $direction)
 edit_action ($position= '')
 save_action ($position)
 delete_action ($position)
 add_link_action ()
 select_link_action ()
 save_link_action ($tool_id)
 getLtiLink ($lti_data)
 profile_action ($id)
 outcome_action ($id)
 grades_action ()
 export_grades_action ()
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 erase_response ()
 perform ($unconsumed_path)
 after_filter ($action, $args)
 validate_args (&$args, $types=null)
 url_for ($to= '')
 link_for ($to= '')
 redirect ($to)
 relocate ($to)
 rescue ($exception)
 render_json ($data)
 render_csv ($data, $filename=null, $delimiter= ';', $enclosure= '"')
 render_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 render_temporary_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 relay ($to_uri)
 relayWithRedirect (...$args)
 perform_relayed ($unconsumed)
 render_template_as_string ($template, $layout=null)
 __call ($method, $arguments)
 has_action ($action)
 action_url ($action)
 action_link ($action)
 validate_datetime ($datetime, $format= 'H:i')

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 controller_path ()
 getBodyElementIdForControllerAndAction ($unconsumed_path)
- Protected Attributes inherited from StudipController
 $with_session = false
 $allow_nobody = true
 $_autobind = false

Detailed Description

course/lti.php - LTI consumer API for Stud.IP

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Elmar Ludwig GPL version 2

Member Function Documentation

add_link_action ( )

Select a tool for adding a block via ContentItemSelectionRequest.

before_filter ( $action,

Callback function being called before an action is executed.

config_action ( )

Edit the course settings.

delete_action (   $position)

Delete an LTI content block.

int$positionblock position
edit_action (   $position = '')

Edit an LTI content block (using a dialog window).

int$positionblock position (blank: create a new block)
export_grades_action ( )

Export grades from the gradebook in CSV format.

getLtiLink (   $lti_data)

Return an LtiLink object for the configured LTI content block.

LtiData$lti_datadata of LTI content block
LtiLink LTI link representation
grades_action ( )

Display the (simple) LTI gradebook.

iframe_action ( )

Display the launch form for a tool as an iframe.

index_action ( )

Display the list of LTI content blocks.

move_action (   $position,

Move an LTI content block (either up or down).

int$positionblock position
string$direction'up' or 'down'
outcome_action (   $id)

Handle outcome service callback request by the LTI tool.

int$idlink id
profile_action (   $id)

Return the LTI consumer profile in standard JSON format.

int$idlink id
save_action (   $position)

Save an LTI content block.

int$positionblock position (blank: create a new block)
save_config_action ( )

Save the course settings.

save_link_action (   $tool_id)

Create a new LTI content block for the specified tool id.

int$tool_idtool id
select_link_action ( )

Dispatch a ContentItemSelectionRequest to a specified LTI tool.

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