(no description)
File Size: | 319 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
recording_data:: (6 methods):
get_recording_table()
row()
preview_enabled()
row_duration()
type_text()
include_recording_table_row()
Class: recording_data - X-Ref
The recordings_data.get_recording_table(array $recordings, array $tools, instance $instance = null,int $courseid = 0) X-Ref |
Get the full recording table return: array param: array $recordings param: array $tools param: instance|null $instance param: int $courseid |
row(?instance $instance, recording $rec, ?array $tools = null, ?int $courseid = 0) X-Ref |
Helper function builds a row for the data used by the recording table. TODO: replace this with templates whenever possible so we just return the data via the API. return: stdClass|null param: instance|null $instance $instance param: recording $rec a recording row param: array|null $tools param: int|null $courseid |
preview_enabled(instance $instance) X-Ref |
Helper function evaluates if recording preview should be included. return: bool param: instance $instance |
row_duration(recording $recording) X-Ref |
Helper function converts recording duration used in row for the data used by the recording table. return: int param: recording $recording |
type_text(string $playbacktype) X-Ref |
Helper function to handle yet unknown recording types return: string the matching language string or a capitalised version of the provided string param: string $playbacktype : for now presentation, video, statistics, capture, notes, podcast |
include_recording_table_row(?instance $instance, recording $rec) X-Ref |
Helper function evaluates if recording row should be included in the table. return: bool param: instance|null $instance param: recording $rec a bigbluebuttonbn_recordings row |