Stud.IP
6.0
|
Public Member Functions | |
getId ($comment) | |
getAttributes ($comment, ContextInterface $context) | |
getRelationships ($comment, 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 = 'comments' |
const | REL_AUTHOR = 'author' |
const | REL_NEWS = 'news' |
Data Fields inherited from SchemaProvider | |
const | TYPE = '' |
Additional Inherited Members | |
Protected Attributes inherited from SchemaProvider | |
$schemaContainer | |
$currentUser | |
getAttributes | ( | $comment, | |
ContextInterface | $context | ||
) |
getId | ( | $comment | ) |
getRelationships | ( | $comment, | |
ContextInterface | $context | ||
) |
const REL_AUTHOR = 'author' |
const REL_NEWS = 'news' |
const TYPE = 'comments' |