MDL-67585 core_course: add content_item_service class
authorJake Dallimore <jake@moodle.com>
Tue, 21 Jan 2020 03:43:08 +0000 (11:43 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 20 Feb 2020 01:28:57 +0000 (09:28 +0800)
commitdd494a41a4b19138f6f51e48f06bf7062e7e14b2
tree0c3c446971235719270fadfe1ca40870f8b6930a
parent8210186372c5968788758e56e1838239c5570880
MDL-67585 core_course: add content_item_service class

The service object encapsulates access control logic and allows
consumers to query content items in different contexts/scopes.
course/classes/local/service/content_item_service.php [new file with mode: 0644]
course/tests/services_content_item_service_test.php [new file with mode: 0644]