Page helper.
More...
|
static | setup (moodle_url $url, $title, $attachtoparentnode='', $requiredcapability='tool/dataprivacy:managedataregistry') |
| Sets up $PAGE for data privacy admin pages.
|
|
Page helper.
- Copyright
- 2018 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ setup()
static tool_dataprivacy\page_helper::setup |
( |
moodle_url | $url, |
|
|
| $title, |
|
|
| $attachtoparentnode = '', |
|
|
| $requiredcapability = 'tool/dataprivacy:managedataregistry' ) |
|
static |
Sets up $PAGE for data privacy admin pages.
- Parameters
-
moodle_url | $url | The page URL. |
string | $title | The page's title. |
string | $attachtoparentnode | The parent navigation node where this page can be accessed from. |
string | $requiredcapability | The required capability to view this page. |
The documentation for this class was generated from the following file:
- admin/tool/dataprivacy/classes/page_helper.php