|
| __construct (context $context, int $userview, ?int $userid=null, ?int $currentgroupid=null, string $usersearch='') |
| The class constructor.
|
|
| export_for_template (\renderer_base $output) |
| Export the data for the mustache template.
|
|
| get_template () |
| Returns the template for the action bar.
|
|
|
context | $context |
| $context The context object.
|
|
int null | $currentgroupid |
| $currentgroupid The user report view mode.
|
|
int null | $userid |
| $userid The user ID.
|
|
string | $usersearch |
| $usersearch String to search matching users.
|
|
int | $userview |
| $userview The user report view mode.
|
|
◆ __construct()
gradereport_user\output\action_bar::__construct |
( |
context | $context, |
|
|
int | $userview, |
|
|
?int | $userid = null, |
|
|
?int | $currentgroupid = null, |
|
|
string | $usersearch = '' ) |
The class constructor.
- Parameters
-
context | $context | The context object. |
int | $userview | The user report view mode. |
int | null | $userid | The user ID or 0 if displaying all users. |
int | null | $currentgroupid | The ID of the current group. |
string | $usersearch | String to search matching user. |
◆ export_for_template()
gradereport_user\output\action_bar::export_for_template |
( |
\renderer_base | $output | ) |
|
Export the data for the mustache template.
- Parameters
-
renderer_base | $output | renderer to be used to render the action bar elements. |
- Return values
-
◆ get_template()
gradereport_user\output\action_bar::get_template |
( |
| ) |
|
The documentation for this class was generated from the following file:
- grade/report/user/classes/output/action_bar.php