Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; under version 2 |
| 7 | * of the License (non-upgradable). |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | * |
| 18 | * Copyright (c) 2016 (original work) Open Assessment Technologies SA |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | namespace oat\taoLti\models\classes; |
| 23 | |
| 24 | /** |
| 25 | * Interface containing the Lti Role URIs |
| 26 | * |
| 27 | * phpcs:disable Generic.Files.LineLength |
| 28 | */ |
| 29 | interface LtiRoles |
| 30 | { |
| 31 | public const CLASS_URI = 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LTIRole'; |
| 32 | |
| 33 | public const PROPERTY_URN = 'http://www.tao.lu/Ontologies/TAOLTI.rdf#RoleURN'; |
| 34 | |
| 35 | public const INSTANCE_LTI_BASE = 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LtiBaseRole'; |
| 36 | |
| 37 | public const CONTEXT_TEACHING_ASSISTANT = 'http://www.imsglobal.org/imspurl/lis/v1/vocab/membership#TeachingAssistant'; |
| 38 | |
| 39 | public const CONTEXT_LEARNER = 'http://www.imsglobal.org/imspurl/lis/v1/vocab/membership#Learner'; |
| 40 | |
| 41 | public const CONTEXT_INSTRUCTOR = 'http://www.imsglobal.org/imspurl/lis/v1/vocab/membership#Instructor'; |
| 42 | |
| 43 | public const CONTEXT_ADMINISTRATOR = 'http://www.imsglobal.org/imspurl/lis/v1/vocab/membership#Administrator'; |
| 44 | |
| 45 | // LTI 1p3 |
| 46 | //Learner roles set |
| 47 | public const CONTEXT_LTI1P3_LEARNER = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'; |
| 48 | public const CONTEXT_LTI1P3_LEARNER_SUB_EXTERNAL_LEARNER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Learner#ExternalLearner'; |
| 49 | public const CONTEXT_LTI1P3_LEARNER_SUB_GUEST_LEARNER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Learner#GuestLearner'; |
| 50 | public const CONTEXT_LTI1P3_LEARNER_SUB_INSTRUCTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Learner#Instructor'; |
| 51 | public const CONTEXT_LTI1P3_LEARNER_SUB_LEARNER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Learner#Learner'; |
| 52 | public const CONTEXT_LTI1P3_LEARNER_SUB_NON_CREDIT_LEARNER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Learner#NonCreditLearner'; |
| 53 | //Mentor roles set |
| 54 | public const CONTEXT_LTI1P3_MENTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Mentor'; |
| 55 | public const CONTEXT_LTI1P3_MENTOR_SUB_ADVISOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#Advisor'; |
| 56 | public const CONTEXT_LTI1P3_MENTOR_SUB_AUDITOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#Auditor'; |
| 57 | public const CONTEXT_LTI1P3_MENTOR_SUB_EXTERNAL_ADVISOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#ExternalAdvisor'; |
| 58 | public const CONTEXT_LTI1P3_MENTOR_SUB_EXTERNAL_AUDITOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#ExternalAuditor'; |
| 59 | public const CONTEXT_LTI1P3_MENTOR_SUB_EXTERNAL_LEARNING_FACILITATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#ExternalLearningFacilitator'; |
| 60 | public const CONTEXT_LTI1P3_MENTOR_SUB_EXTERNAL_MENTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#ExternalMentor'; |
| 61 | public const CONTEXT_LTI1P3_MENTOR_SUB_EXTERNAL_REVIEWER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#ExternalReviewer'; |
| 62 | public const CONTEXT_LTI1P3_MENTOR_SUB_EXTERNAL_TUTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#ExternalTutor'; |
| 63 | public const CONTEXT_LTI1P3_MENTOR_SUB_LEARNING_FACILITATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#LearningFacilitator'; |
| 64 | public const CONTEXT_LTI1P3_MENTOR_SUB_MENTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#Mentor'; |
| 65 | public const CONTEXT_LTI1P3_MENTOR_SUB_REVIEWER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#Reviewer'; |
| 66 | public const CONTEXT_LTI1P3_MENTOR_SUB_TUTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Mentor#Tutor'; |
| 67 | //Instructor roles set |
| 68 | public const CONTEXT_LTI1P3_INSTRUCTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor'; |
| 69 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_EXTERNAL_INSTRUCTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#ExternalInstructor'; |
| 70 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_GRADER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#Grader'; |
| 71 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_GUEST_INSTRUCTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#GuestInstructor'; |
| 72 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_LECTURER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#Lecturer'; |
| 73 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_PRIMARY_INSTRUCTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#PrimaryInstructor'; |
| 74 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_SECONDARY_INSTRUCTOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#SecondaryInstructor'; |
| 75 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_TEACHING_ASSISTANT = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistant'; |
| 76 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_TEACHING_ASSISTANT_GROUP = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistantGroup'; |
| 77 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_TEACHING_ASSISTANT_OFFERING = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistantOffering'; |
| 78 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_TEACHING_ASSISTANT_SECTION = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistantSection'; |
| 79 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_TEACHING_ASSISTANT_SECTION_ASSOCIATION = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistantSectionAssociation'; |
| 80 | public const CONTEXT_LTI1P3_INSTRUCTOR_SUB_TEACHING_ASSISTANT_TEMPLATE = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistantTemplate'; |
| 81 | //ContentDeveloper roles set |
| 82 | public const CONTEXT_LTI1P3_CONTENT_DEVELOPER = 'http://purl.imsglobal.org/vocab/lis/v2/membership#ContentDeveloper'; |
| 83 | public const CONTEXT_LTI1P3_CONTENT_DEVELOPER_SUB_CONTENT_DEVELOPER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/ContentDeveloper#ContentDeveloper'; |
| 84 | public const CONTEXT_LTI1P3_CONTENT_DEVELOPER_SUB_CONTENT_EXPERT = 'http://purl.imsglobal.org/vocab/lis/v2/membership/ContentDeveloper#ContentExpert'; |
| 85 | public const CONTEXT_LTI1P3_CONTENT_DEVELOPER_SUB_EXTERNAL_CONTENT_EXPERT = 'http://purl.imsglobal.org/vocab/lis/v2/membership/ContentDeveloper#ExternalContentExpert'; |
| 86 | public const CONTEXT_LTI1P3_CONTENT_DEVELOPER_SUB_LIBRARIAN = 'http://purl.imsglobal.org/vocab/lis/v2/membership/ContentDeveloper#Librarian'; |
| 87 | //Manager roles set |
| 88 | public const CONTEXT_LTI1P3_MANAGER = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Manager'; |
| 89 | public const CONTEXT_LTI1P3_MANAGER_SUB_AREA_MANAGER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Manager#AreaManager'; |
| 90 | public const CONTEXT_LTI1P3_MANAGER_SUB_COURSE_COORDINATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Manager#CourseCoordinator'; |
| 91 | public const CONTEXT_LTI1P3_MANAGER_SUB_EXTERNAL_OBSERVER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Manager#ExternalObserver'; |
| 92 | public const CONTEXT_LTI1P3_MANAGER_SUB_MANAGER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Manager#Manager'; |
| 93 | public const CONTEXT_LTI1P3_MANAGER_SUB_OBSERVER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Manager#Observer'; |
| 94 | //Member roles set |
| 95 | public const CONTEXT_LTI1P3_MEMBER = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Member'; |
| 96 | public const CONTEXT_LTI1P3_MEMBER_SUB_MEMBER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Member#Member'; |
| 97 | //Officer roles set |
| 98 | public const CONTEXT_LTI1P3_OFFICER = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Officer'; |
| 99 | public const CONTEXT_LTI1P3_OFFICER_SUB_CHAIR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Officer#Chair'; |
| 100 | public const CONTEXT_LTI1P3_OFFICER_SUB_COMMUNICATIONS = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Officer#Communications'; |
| 101 | public const CONTEXT_LTI1P3_OFFICER_SUB_SECRETARY = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Officer#Secretary'; |
| 102 | public const CONTEXT_LTI1P3_OFFICER_SUB_TREASURER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Officer#Treasurer'; |
| 103 | public const CONTEXT_LTI1P3_OFFICER_SUB_VICE_CHAIR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Officer#Vice-Chair'; |
| 104 | //Administrator roles set |
| 105 | public const CONTEXT_LTI1P3_ADMINISTRATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership#Administrator'; |
| 106 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_ADMINISTRATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#Administrator'; |
| 107 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_DEVELOPER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#Developer'; |
| 108 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_EXTERNAL_DEVELOPER = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#ExternalDeveloper'; |
| 109 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_EXTERNAL_SUPPORT = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#ExternalSupport'; |
| 110 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_EXTERNAL_SYSTEM_ADMINISTRATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#ExternalSystemAdministrator'; |
| 111 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_SUPPORT = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#Support'; |
| 112 | public const CONTEXT_LTI1P3_ADMINISTRATOR_SUB_SYSTEM_ADMINISTRATOR = 'http://purl.imsglobal.org/vocab/lis/v2/membership/Administrator#SystemAdministrator'; |
| 113 | |
| 114 | public const CONTEXT_INSTITUTION_LTI1P3_ADMINISTRATOR = 'http://purl.imsglobal.org/vocab/lis/v2/institution/person#Administrator'; |
| 115 | } |