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