Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Post read receipt collection class. More...
Public Member Functions | |
__construct (array $records) | |
Constructor. | |
has_user_read_post (stdClass $user, post_entity $post) | |
Check whether a user has read a post. | |
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 |