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

Public Member Functions

 getId ($resource)
 
 getAttributes ($resource, ContextInterface $context)
 
 hasResourceMeta ($resource)
 
 getResourceMeta ($resource)
 
 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 = 'feedback-elements'
 
const REL_AUTHOR = 'author'
 
const REL_COURSE = 'course'
 
const REL_ENTRIES = 'entries'
 
const REL_RANGE = 'range'
 
- 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 
)

(PHPMD.UnusedFormalParameter)

◆ getId()

getId (   $resource)

◆ getRelationships()

getRelationships (   $resource,
ContextInterface  $context 
)

In dieser Methode können Relationships zu anderen Objekten spezifiziert werden. {}

◆ getResourceMeta()

getResourceMeta (   $resource)

◆ hasResourceMeta()

hasResourceMeta (   $resource)

Field Documentation

◆ REL_AUTHOR

const REL_AUTHOR = 'author'

◆ REL_COURSE

const REL_COURSE = 'course'

◆ REL_ENTRIES

const REL_ENTRIES = 'entries'

◆ REL_RANGE

const REL_RANGE = 'range'

◆ TYPE

const TYPE = 'feedback-elements'

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