Convert a discussion entity into an stdClass.
More...
Convert a discussion entity into an stdClass.
- 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
◆ to_legacy_object()
mod_forum\local\data_mappers\legacy\discussion::to_legacy_object |
( |
discussion_entity | $discussion | ) |
|
Convert a discussion entity into an stdClass.
- Parameters
-
discussion_entity | $discussion | The discussion to convert. |
- Return values
-
◆ to_legacy_objects()
mod_forum\local\data_mappers\legacy\discussion::to_legacy_objects |
( |
array | $discussions | ) |
|
Convert a list of discussion entities into stdClasses.
- Parameters
-
discussion_entity[] | $authors | The authors to convert. |
- Return values
-
The documentation for this class was generated from the following file:
- mod/forum/classes/local/data_mappers/legacy/discussion.php