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

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

Member Function Documentation

◆ getAttributes()

getAttributes (   $membership,
ContextInterface  $context 

◆ getId()

getId (   $membership)

◆ getRelationships()

getRelationships (   $membership,
ContextInterface  $context 

Field Documentation


const REL_COURSE = 'course'


const REL_USER = 'user'


const TYPE = 'course-memberships'

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