Cohort role assignments table.
More...
|
| | __construct ($uniqueid, $url) |
| | Sets up the table.
|
| |
|
| print_nothing_to_display () |
| | Override the default implementation to set a notification.
|
| |
| | query_db ($pagesize, $useinitialsbar=true) |
| | Query the DB.
|
| |
|
| | col_actions ($data) |
| | Actions column.
|
| |
| | col_cohortname ($data) |
| | Cohort name column.
|
| |
| | col_rolename ($data) |
| | Role name column.
|
| |
|
| define_table_columns () |
| | Setup the headers for the table.
|
| |
|
| define_table_configs () |
| | Define table configs.
|
| |
| | get_sql_and_params ($count=false) |
| | Builds the SQL query.
|
| |
|
|
context_system context_system | $context = null |
| |
|
array array | $rolenames = [] |
| |
Cohort role assignments table.
- Copyright
- 2015 Damyon Wiese
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| tool_cohortroles\output\cohort_role_assignments_table::__construct |
( |
| $uniqueid, |
|
|
| $url ) |
Sets up the table.
- Parameters
-
| string | $uniqueid | Unique id of table. |
| moodle_url | $url | The base URL. |
◆ col_actions()
| tool_cohortroles\output\cohort_role_assignments_table::col_actions |
( |
| $data | ) |
|
|
protected |
Actions column.
- Parameters
-
- Return values
-
◆ col_cohortname()
| tool_cohortroles\output\cohort_role_assignments_table::col_cohortname |
( |
| $data | ) |
|
|
protected |
Cohort name column.
- Parameters
-
- Return values
-
◆ col_rolename()
| tool_cohortroles\output\cohort_role_assignments_table::col_rolename |
( |
| $data | ) |
|
|
protected |
Role name column.
- Parameters
-
- Return values
-
◆ get_sql_and_params()
| tool_cohortroles\output\cohort_role_assignments_table::get_sql_and_params |
( |
| $count = false | ) |
|
|
protected |
Builds the SQL query.
- Parameters
-
| bool | $count | When true, return the count SQL. |
- Return values
-
| array | containing sql to use and an array of params. |
◆ query_db()
| tool_cohortroles\output\cohort_role_assignments_table::query_db |
( |
| $pagesize, |
|
|
| $useinitialsbar = true ) |
Query the DB.
- 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:
- admin/tool/cohortroles/classes/output/cohort_role_assignments_table.php