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

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
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $comment,
ContextInterface  $context 
)

◆ getId()

getId (   $comment)

◆ getRelationships()

getRelationships (   $comment,
ContextInterface  $context 
)

Field Documentation

◆ REL_AUTHOR

const REL_AUTHOR = 'author'

◆ REL_NEWS

const REL_NEWS = 'news'

◆ TYPE

const TYPE = 'comments'

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