Forum class.
More...
|
| __construct (forum_entity $forum, $related=[]) |
| Constructor for the forum exporter.
|
|
◆ __construct()
mod_forum\local\exporters\forum::__construct |
( |
forum_entity | $forum, |
|
|
| $related = [] ) |
Constructor for the forum exporter.
- Parameters
-
forum_entity | $forum | The forum being displayed |
array | $related | The related objects |
◆ define_other_properties()
static mod_forum\local\exporters\forum::define_other_properties |
( |
| ) |
|
|
staticprotected |
Return the list of additional properties.
- Return values
-
◆ define_related()
static mod_forum\local\exporters\forum::define_related |
( |
| ) |
|
|
staticprotected |
Returns a list of objects that are related.
- Return values
-
◆ get_other_values()
mod_forum\local\exporters\forum::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/forum.php