Stud.IP  5.4
Contents_CoursewareController Class Reference
Inheritance diagram for Contents_CoursewareController:
CoursewareController AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ()
 
 bookmarks_action ()
 
 releases_action ()
 
 courses_overview_action ($action=false, $widgetId=null)
 
 pdf_export_action ($element_id, $with_children)
 
 shared_content_courseware_action ($entry_element_id)
 
- Public Member Functions inherited from CoursewareController
 before_filter (&$action, &$args)
 
 redirectToFirstUnit (string $context, string $rangeId, array $last)
 
 setEntryElement (string $context, Unit $unit, array $last, string $rangeId)
 
 getLastElement (array $last, string $context, string $rangeId)
 
 getLicenses ()
 
 setCoursewareSidebar ()
 
- Public Member Functions inherited from AuthenticatedController
 before_filter (&$action, &$args)
 
- 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)
 
 render_form (\Studip\Forms\Form $form)
 
 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')
 
 render_spreadsheet (array $header, array $data, string $format, string $filename, ?string $filepath=null)
 

Additional Inherited Members

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

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)

Callback function being called before an action is executed.

(PHPMD.CamelCaseMethodName) (PHPMD.Superglobals)

◆ bookmarks_action()

bookmarks_action ( )

Show users bookmarks

Parameters
string$action
string$widgetId(PHPMD.CamelCaseMethodName) (PHPMD.Superglobals) (PHPMD.UnusedFormalParameter)

◆ courses_overview_action()

courses_overview_action (   $action = false,
  $widgetId = null 
)

displays coursewares in courses

Parameters
string$action
string$widgetId(PHPMD.CamelCaseMethodName) (PHPMD.Superglobals) (PHPMD.UnusedFormalParameter)

◆ index_action()

index_action ( )

Entry point of the controller that displays the courseware projects overview

Parameters
string$action
string$widgetId(PHPMD.CamelCaseMethodName) (PHPMD.Superglobals) (PHPMD.UnusedFormalParameter)

◆ pdf_export_action()

pdf_export_action (   $element_id,
  $with_children 
)

◆ releases_action()

releases_action ( )

Show users releases

(PHPMD.CamelCaseMethodName) (PHPMD.Superglobals) (PHPMD.UnusedFormalParameter)

◆ shared_content_courseware_action()

shared_content_courseware_action (   $entry_element_id)

To display the shared courseware

Parameters
string$entry_element_idthe shared struct element id

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