Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
tool_policy\output\page_viewalldoc Class Reference

Represents a page for showing all the policy documents with a current version. More...

Inheritance diagram for tool_policy\output\page_viewalldoc:
renderable templatable

Public Member Functions

 __construct ($returnurl)
 Prepare the page for rendering.
 
 export_for_template (renderer_base $output)
 Export the page data for the mustache template.
 

Protected Member Functions

 prepare_global_page_access ()
 Sets up the global $PAGE and performs the access checks.
 
 prepare_policies ()
 Loads the policy versions to display on the page.
 

Detailed Description

Represents a page for showing all the policy documents with a current version.

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

Member Function Documentation

◆ export_for_template()

tool_policy\output\page_viewalldoc::export_for_template ( renderer_base $output)

Export the page data for the mustache template.

Parameters
renderer_base$outputrenderer to be used to render the page elements.
Return values
stdClass

Implements templatable.


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