Represents a management page with the list of policy documents.
More...
Represents a management page with the list of policy documents.
The page displays all policy documents in their sort order, together with draft future versions.
- Copyright
- 2018 David Mudrak david.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_policy\output\page_managedocs_list::__construct |
( |
|
$policyid = null | ) |
|
page_managedocs_list constructor.
- Parameters
-
int | $policyid | when specified only archived versions of this policy will be displayed. |
◆ export_for_template()
tool_policy\output\page_managedocs_list::export_for_template |
( |
renderer_base |
$output | ) |
|
Export the page data for the mustache template.
- Parameters
-
renderer_base | $output | renderer to be used to render the page elements. |
- Return values
-
Implements templatable.
◆ export_version_for_template()
tool_policy\output\page_managedocs_list::export_version_for_template |
( |
|
$output, |
|
|
|
$policy, |
|
|
|
$version, |
|
|
|
$isindented, |
|
|
|
$moveup, |
|
|
|
$movedown |
|
) |
| |
|
protected |
Exports one version for the list of policies.
- Parameters
-
renderer_base | $output | |
stdClass | $policy | |
stdClass | $version | |
bool | $isindented | display indented (normally drafts of the current version) |
bool | $moveup | can move up |
bool | $movedown | can move down |
- Return values
-
The documentation for this class was generated from the following file: