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

Public Member Functions

 getId ($entry)
 
 getAttributes ($entry, ContextInterface $context)
 
 getRelationships ($entry, 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 = 'forum-entries'
 
const REL_CAT = 'category'
 
const REL_ENTRY = 'entries'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $entry,
ContextInterface  $context 
)

◆ getId()

getId (   $entry)

◆ getRelationships()

getRelationships (   $entry,
ContextInterface  $context 
)

(PHPMD.UnusedFormalParameter)

Field Documentation

◆ REL_CAT

const REL_CAT = 'category'

◆ REL_ENTRY

const REL_ENTRY = 'entries'

◆ TYPE

const TYPE = 'forum-entries'

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