Post exporter class.
More...
Post exporter class.
- Copyright
- 2019 Ryan Wyllie ryan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
mod_forum\local\exporters\post::__construct |
( |
post_entity | $post, |
|
|
array | $related = [] ) |
Constructor.
- Parameters
-
post_entity | $post | The post to export |
array | $related | List of related data |
◆ define_other_properties()
static mod_forum\local\exporters\post::define_other_properties |
( |
| ) |
|
|
staticprotected |
Return the list of additional properties.
- Return values
-
◆ define_related()
static mod_forum\local\exporters\post::define_related |
( |
| ) |
|
|
staticprotected |
Returns a list of objects that are related.
- Return values
-
◆ get_format_parameters_for_message()
mod_forum\local\exporters\post::get_format_parameters_for_message |
( |
| ) |
|
|
protected |
◆ get_other_values()
mod_forum\local\exporters\post::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:
- mod/forum/classes/local/exporters/post.php