Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: