Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_dataprivacy\page_helper Class Reference

Page helper. More...

Static Public Member Functions

static setup (moodle_url $url, $title, $attachtoparentnode='', $requiredcapability='tool/dataprivacy:managedataregistry')
 Sets up $PAGE for data privacy admin pages.
 

Detailed Description

Page helper.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ 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$urlThe page URL.
string$titleThe page's title.
string$attachtoparentnodeThe parent navigation node where this page can be accessed from.
string$requiredcapabilityThe required capability to view this page.

The documentation for this class was generated from the following file: