Stud.IP  5.4
CourseMember Class Reference
Inheritance diagram for CourseMember:
SchemaProvider

Public Member Functions

 getId ($membership)
 
 getAttributes ($membership, ContextInterface $context)
 
 getRelationships ($membership, 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-memberships'
 
const REL_COURSE = 'course'
 
const REL_USER = 'user'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $membership,
ContextInterface  $context 
)

◆ getId()

getId (   $membership)

◆ getRelationships()

getRelationships (   $membership,
ContextInterface  $context 
)

Field Documentation

◆ REL_COURSE

const REL_COURSE = 'course'

◆ REL_USER

const REL_USER = 'user'

◆ TYPE

const TYPE = 'course-memberships'

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