Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
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)
 

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 (   $membership,
ContextInterface  $context 
)
getId (   $membership)
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: