users
class users extends table_sql implements dynamic
Class for the displaying the participants table.
Properties
| $rawdata | |||
| $allroleassignments | |||
| moodle_url | $baseurl | ||
| protected int | $courseid | ||
| protected string[] | $extrafields | ||
| protected stdClass | $course | ||
| protected context | $context | ||
| protected array | $users | ||
| protected filterset | $filterset |
Methods
Render the participants table.
Query the database for results to display in the table.
Set filters and build table structure.
Guess the base url for the participants table.
Get the context of the current table.
No description
No description
Override the table show_hide_link to not show for select column.
Details
at line 90
void
out(int $pagesize, bool $useinitialsbar, string $downloadhelpbutton = '')
Render the participants table.
at line 135
string
col_select(stdClass $data)
Generate the select column.
at line 163
string
col_fullname(stdClass $data)
Generate the fullname column.
at line 182
string
other_cols(string $colname, stdClass $data)
This function is used for the extra user fields.
These are being dynamically added to the table so there are no functions 'col_
at line 198
void
query_db(int $pagesize, bool $useinitialsbar = true)
Query the database for results to display in the table.
at line 244
void
set_filterset(filterset $filterset)
Set filters and build table structure.
at line 257
void
guess_base_url()
Guess the base url for the participants table.
at line 269
context
get_context()
Get the context of the current table.
Note: This function should not be called until after the filterset has been provided.
at line 274
set_users($users)
No description
at line 279
bool
has_capability()
No description
at line 292
protected string
show_hide_link(string $column, int $index)
Override the table show_hide_link to not show for select column.