Stud.IP
6.0
|
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 = 'feedback-entries' |
const | REL_AUTHOR = 'author' |
const | REL_FEEDBACK = 'feedback-element' |
Data Fields inherited from SchemaProvider | |
const | TYPE = '' |
Additional Inherited Members | |
Protected Attributes inherited from SchemaProvider | |
$schemaContainer | |
$currentUser | |
getAttributes | ( | $resource, | |
ContextInterface | $context | ||
) |
getId | ( | $resource | ) |
getRelationships | ( | $resource, | |
ContextInterface | $context | ||
) |
In dieser Methode können Relationships zu anderen Objekten spezifiziert werden.
{}
const REL_AUTHOR = 'author' |
const REL_FEEDBACK = 'feedback-element' |
const TYPE = 'feedback-entries' |