Exporter of a single policy document version.
More...
Exporter of a single policy document version.
Note we cannot use the persistent_exporter as our super class because we want to add some properties not present in the persistent (e.g. acceptancescount).
- 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
◆ define_other_properties()
static tool_policy\policy_version_exporter::define_other_properties |
( |
| ) |
|
|
staticprotected |
Return the list of additional (calculated and readonly) properties.
- Return values
-
◆ define_properties()
static tool_policy\policy_version_exporter::define_properties |
( |
| ) |
|
|
staticprotected |
Return the list of properties.
- Return values
-
◆ define_related()
static tool_policy\policy_version_exporter::define_related |
( |
| ) |
|
|
staticprotected |
Returns a list of objects that are related.
- Return values
-
◆ get_format_parameters_for_content()
tool_policy\policy_version_exporter::get_format_parameters_for_content |
( |
| ) |
|
|
protected |
Get the formatting parameters for the content field.
- Return values
-
◆ get_format_parameters_for_summary()
tool_policy\policy_version_exporter::get_format_parameters_for_summary |
( |
| ) |
|
|
protected |
Get the formatting parameters for the summary field.
- Return values
-
◆ get_other_values()
tool_policy\policy_version_exporter::get_other_values |
( |
renderer_base | $output | ) |
|
|
protected |
Get the additional values to inject while exporting.
- Parameters
-
- Return values
-
array | Keys are the property names, values are their values. |
The documentation for this class was generated from the following file:
- admin/tool/policy/classes/policy_version_exporter.php