|
| | __construct ($courseid) |
| | Sets up the table.
|
| |
| | col_edit ($tool) |
| | Generate the edit column.
|
| |
| | col_launch ($tool) |
| | Generate the launch column.
|
| |
| | col_name ($tool) |
| | Generate the name column.
|
| |
| | query_db ($pagesize, $useinitialsbar=true) |
| | Query the reader.
|
| |
|
|
bool | $canconfig |
| | $canconfig
|
| |
|
int | $courseid |
| | $courseid The course id.
|
| |
|
bool | $ltienabled |
| | $ltienabled
|
| |
|
enrol_plugin | $ltiplugin |
| | $ltiplugin
|
| |
◆ __construct()
| enrol_lti\local\ltiadvantage\table\published_resources_table::__construct |
( |
| $courseid | ) |
|
Sets up the table.
- Parameters
-
| string | $courseid | The id of the course. |
◆ col_edit()
| enrol_lti\local\ltiadvantage\table\published_resources_table::col_edit |
( |
| $tool | ) |
|
Generate the edit column.
- Parameters
-
- Return values
-
◆ col_launch()
| enrol_lti\local\ltiadvantage\table\published_resources_table::col_launch |
( |
| $tool | ) |
|
Generate the launch column.
- Parameters
-
| stdClass | $tool | instance data. |
- Return values
-
◆ col_name()
| enrol_lti\local\ltiadvantage\table\published_resources_table::col_name |
( |
| $tool | ) |
|
Generate the name column.
- Parameters
-
- Return values
-
◆ get_deleted_activity_name_html()
| enrol_lti\local\ltiadvantage\table\published_resources_table::get_deleted_activity_name_html |
( |
\stdClass | $tool | ) |
|
|
protected |
Get a warning icon, with tooltip, describing enrolment instances sharing activities which have been deleted.
- Parameters
-
| stdClass | $tool | the tool instance record. |
- Return values
-
| string | the HTML for the name column. |
◆ get_display_text()
| enrol_lti\local\ltiadvantage\table\published_resources_table::get_display_text |
( |
| $tool, |
|
|
| $text ) |
|
protected |
Returns text to display in the columns.
- Parameters
-
| stdClass | $tool | the tool |
| string | $text | the text to alter |
- Return values
-
◆ query_db()
| enrol_lti\local\ltiadvantage\table\published_resources_table::query_db |
( |
| $pagesize, |
|
|
| $useinitialsbar = true ) |
Query the reader.
Store results in the object for use by build_table.
- Parameters
-
| int | $pagesize | size of page for paginated displayed table. |
| bool | $useinitialsbar | do you want to use the initials bar. |
The documentation for this class was generated from the following file:
- enrol/lti/classes/local/ltiadvantage/table/published_resources_table.php