Renderable class for manage rules page.
More...
|
context_course context_system | $context |
| context of the page to be rendered.
|
|
bool | $hassystemcap |
| Does the user have capability to manage rules at site context.
|
|
Renderable class for manage rules page.
- Since
- Moodle 2.8
- Copyright
- 2014 onwards Ankit Agarwal ankit.nosp@m..agr.nosp@m.r@gma.nosp@m.il.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_monitor\output\managerules\renderable::__construct |
( |
| $uniqueid, |
|
|
moodle_url | $url, |
|
|
| $courseid = 0, |
|
|
| $perpage = 100 ) |
Sets up the table_log parameters.
- Parameters
-
string | $uniqueid | unique id of form. |
moodle_url | $url | url where this table is displayed. |
int | $courseid | course id. |
int | $perpage | Number of rules to display per page. |
◆ col_course()
Generate content for course column.
- Parameters
-
- Return values
-
string | html used to display the context column field. |
◆ col_description()
tool_monitor\output\managerules\renderable::col_description |
( |
\tool_monitor\rule | $rule | ) |
|
Generate content for description column.
- Parameters
-
- Return values
-
string | html used to display the column field. |
◆ col_eventname()
tool_monitor\output\managerules\renderable::col_eventname |
( |
\tool_monitor\rule | $rule | ) |
|
Generate content for eventname column.
- Parameters
-
- Return values
-
string | html used to display the column field. |
◆ col_filters()
Generate content for filters column.
- Parameters
-
- Return values
-
string | html used to display the filters column field. |
◆ col_manage()
Generate content for manage column.
- Parameters
-
- Return values
-
string | html used to display the manage column field. |
◆ col_name()
Generate content for name column.
- Parameters
-
- Return values
-
string | html used to display the column field. |
◆ col_plugin()
Generate content for plugin column.
- Parameters
-
- Return values
-
string | html used to display the column field. |
◆ query_db()
tool_monitor\output\managerules\renderable::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:
- admin/tool/monitor/classes/output/managerules/renderable.php