|
| | find_all_by_ids_for_user (array $ids, int $userid) |
| | Find all published_resource instances matching the supplied ids for the current user.
|
| |
| | find_all_for_user (int $userid) |
| | Find all published resources which are visible to the given user.
|
| |
◆ find_all_by_ids_for_user()
| enrol_lti\local\ltiadvantage\repository\published_resource_repository::find_all_by_ids_for_user |
( |
array | $ids, |
|
|
int | $userid ) |
Find all published_resource instances matching the supplied ids for the current user.
- Parameters
-
| array | $ids | the array containing object ids to lookup |
| int | $userid | the id of the user to check |
- Return values
-
| array | an array of published_resource instances which are available to the user. |
◆ find_all_for_user()
| enrol_lti\local\ltiadvantage\repository\published_resource_repository::find_all_for_user |
( |
int | $userid | ) |
|
Find all published resources which are visible to the given user.
- Parameters
-
| int | $userid | the id of the user to check. |
- Return values
-
| published_resource[] | an array of published_resource view objects instances. |
The documentation for this class was generated from the following file:
- enrol/lti/classes/local/ltiadvantage/repository/published_resource_repository.php