Stud.IP  5.4
StudipComment Class Reference
Inheritance diagram for StudipComment:

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

Member Function Documentation

◆ getAttributes()

getAttributes (   $comment,
ContextInterface  $context 

◆ getId()

getId (   $comment)

◆ getRelationships()

getRelationships (   $comment,
ContextInterface  $context 

Field Documentation


const REL_AUTHOR = 'author'


const REL_NEWS = 'news'


const TYPE = 'comments'

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