Stud.IP  6.0
CourseSet Class Reference
Inheritance diagram for CourseSet:
SchemaProvider

Public Member Functions

 getId ($courseset)
 
 getAttributes ($courseset, ContextInterface $context)
 
 getRelationships ($resource, ContextInterface $context)
 
- Public Member Functions inherited from SchemaProvider
 __construct (FactoryInterface $factory, SchemaContainerInterface $schemaContainer, ?\User $user)
 
 getType ()
 
 isAddSelfLinkInRelationshipByDefault (string $relationshipName)
 
 isAddRelatedLinkInRelationshipByDefault (string $relationshipName)
 
 createLinkToResource ($resource)
 
 shouldInclude (ContextInterface $context, string $key)
 
 getAllowedAncludePaths (ContextInterface $context)
 

Data Fields

const TYPE = 'course-sets'
 
const REL_RULES = 'admission-rules'
 
const REL_INSTITUTES = 'institutes'
 
const REL_SEMESTER = 'semester'
 
const REL_COURSES = 'courses'
 
const REL_OWNER = 'owner'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $courseset,
ContextInterface  $context 
)

◆ getId()

getId (   $courseset)

◆ getRelationships()

getRelationships (   $resource,
ContextInterface  $context 
)

(PHPMD.UnusedFormalParameter)

Field Documentation

◆ REL_COURSES

const REL_COURSES = 'courses'

◆ REL_INSTITUTES

const REL_INSTITUTES = 'institutes'

◆ REL_OWNER

const REL_OWNER = 'owner'

◆ REL_RULES

const REL_RULES = 'admission-rules'

◆ REL_SEMESTER

const REL_SEMESTER = 'semester'

◆ TYPE

const TYPE = 'course-sets'

The documentation for this class was generated from the following file: