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