Discussion summary class.
More...
◆ __construct()
mod_forum\local\entities\discussion_summary::__construct |
( |
discussion_entity | $discussion, |
|
|
post_entity | $firstpost, |
|
|
author_entity | $firstpostauthor, |
|
|
author_entity | $latestpostauthor ) |
Constructor.
- Parameters
-
discussion_entity | $discussion | The discussion being summarised |
post_entity | $firstpost | First post in the discussion |
author_entity | $firstpostauthor | Author of the first post in the discussion |
author_entity | $latestpostauthor | Author of the last post in the discussion |
◆ get_discussion()
mod_forum\local\entities\discussion_summary::get_discussion |
( |
| ) |
|
Get the discussion entity.
- Return values
-
◆ get_first_post()
mod_forum\local\entities\discussion_summary::get_first_post |
( |
| ) |
|
Get the post entity for the first post.
- Return values
-
◆ get_first_post_author()
mod_forum\local\entities\discussion_summary::get_first_post_author |
( |
| ) |
|
Get the author entity for the first post.
- Return values
-
◆ get_latest_post_author()
mod_forum\local\entities\discussion_summary::get_latest_post_author |
( |
| ) |
|
Get the author entity for the last post.
- Return values
-
The documentation for this class was generated from the following file:
- mod/forum/classes/local/entities/discussion_summary.php