Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: