Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Post read receipt collection class. More...
Public Member Functions | |
__construct (array $records) | |
Constructor. More... | |
has_user_read_post (stdClass $user, post_entity $post) | |
Check whether a user has read a post. More... | |
Post read receipt collection class.
Contains the list of read receipts for posts.
mod_forum\local\entities\post_read_receipt_collection::__construct | ( | array | $records | ) |
Constructor.
array | $records | The list of post read receipt records. |
mod_forum\local\entities\post_read_receipt_collection::has_user_read_post | ( | stdClass | $user, |
post_entity | $post | ||
) |
Check whether a user has read a post.
stdClass | $user | The user to check |
post_entity | $post | The post to check |
bool |