Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | List of all members
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. More...
 

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: