|
| | count_by_registration (int $registrationid) |
| | Return a count of how many deployments exists for a given application_registration.
|
| |
| | delete (int $id) |
| | Delete a deployment from the store.
|
| |
| | delete_by_registration (int $registrationid) |
| | Delete all deployments for the given registration.
|
| |
| | exists (int $id) |
| | Determine whether a deployment exists in the repository.
|
| |
| | find (int $id) |
| | Find and return a deployment, by id.
|
| |
| | find_all_by_registration (int $registrationid) |
| | Get all deployments for a given application registration id.
|
| |
| | find_by_registration (int $registrationid, string $deploymentid) |
| | Get a deployment based on its deploymentid and a for a given application registration id.
|
| |
| | save (deployment $deployment) |
| | Save a deployment to the store.
|
| |
◆ count_by_registration()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::count_by_registration |
( |
int | $registrationid | ) |
|
Return a count of how many deployments exists for a given application_registration.
- Parameters
-
| int | $registrationid | the id of the application_registration instance. |
- Return values
-
| int | the number of deployments found. |
◆ delete()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::delete |
( |
int | $id | ) |
|
Delete a deployment from the store.
- Parameters
-
| int | $id | the id of the deployment object to remove. |
◆ delete_by_registration()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::delete_by_registration |
( |
int | $registrationid | ) |
|
Delete all deployments for the given registration.
- Parameters
-
| int | $registrationid | the registration id. |
◆ exists()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::exists |
( |
int | $id | ) |
|
Determine whether a deployment exists in the repository.
- Parameters
-
| int | $id | the identifier of the deployment |
- Return values
-
| bool | true if the deployment exists, false otherwise. |
◆ find()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::find |
( |
int | $id | ) |
|
Find and return a deployment, by id.
- Parameters
-
| int | $id | the id of the deployment to find. |
- Return values
-
◆ find_all_by_registration()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::find_all_by_registration |
( |
int | $registrationid | ) |
|
Get all deployments for a given application registration id.
- Parameters
-
| int | $registrationid | the id of the application_registration to which the deployment belongs. |
- Return values
-
| deployment[]|null | deployments if found, otherwise null. |
◆ find_by_registration()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::find_by_registration |
( |
int | $registrationid, |
|
|
string | $deploymentid ) |
Get a deployment based on its deploymentid and a for a given application registration id.
- Parameters
-
| int | $registrationid | the id of the application_registration to which the deployment belongs. |
| string | $deploymentid | the deploymentid of the deployment, as set by the platform. |
- Return values
-
| deployment|null | deployment if found, otherwise null. |
◆ save()
| enrol_lti\local\ltiadvantage\repository\deployment_repository::save |
( |
deployment | $deployment | ) |
|
Save a deployment to the store.
- Parameters
-
| deployment | $deployment | the deployment instance to save. |
- Return values
-
| deployment | the saved deployment instance. |
The documentation for this class was generated from the following file:
- enrol/lti/classes/local/ltiadvantage/repository/deployment_repository.php