Discussion summary class.
Copyright: | 2019 Andrew Nicols <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 104 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
discussion_summary:: (5 methods):
__construct()
get_discussion()
get_first_post_author()
get_latest_post_author()
get_first_post()
Class: discussion_summary - X-Ref
Discussion summary class.__construct(discussion_entity $discussion,post_entity $firstpost,author_entity $firstpostauthor,author_entity $latestpostauthor) X-Ref |
Constructor. param: discussion_entity $discussion The discussion being summarised param: post_entity $firstpost First post in the discussion param: author_entity $firstpostauthor Author of the first post in the discussion param: author_entity $latestpostauthor Author of the last post in the discussion |
get_discussion() X-Ref |
Get the discussion entity. return: discussion_entity |
get_first_post_author() X-Ref |
Get the author entity for the first post. return: author_entity |
get_latest_post_author() X-Ref |
Get the author entity for the last post. return: author_entity |
get_first_post() X-Ref |
Get the post entity for the first post. return: post_entity |