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

Public Member Functions

 getId ($resource)
 
 getAttributes ($resource, 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 = 'courseware-units'
 
const REL_CREATOR = 'creator'
 
const REL_RANGE = 'range'
 
const REL_STRUCTURAL_ELEMENT = 'structural-element'
 
const REL_FEEDBACK_ELEMENT = 'feedback-element'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $resource,
ContextInterface  $context 
)

{}

◆ getId()

getId (   $resource)

{}

◆ getRelationships()

getRelationships (   $resource,
ContextInterface  $context 
)

{}

Field Documentation

◆ REL_CREATOR

const REL_CREATOR = 'creator'

◆ REL_FEEDBACK_ELEMENT

const REL_FEEDBACK_ELEMENT = 'feedback-element'

◆ REL_RANGE

const REL_RANGE = 'range'

◆ REL_STRUCTURAL_ELEMENT

const REL_STRUCTURAL_ELEMENT = 'structural-element'

◆ TYPE

const TYPE = 'courseware-units'

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