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

Public Member Functions

 getId ($message)
 getAttributes ($message, ContextInterface $context)
 getRelationships ($message, 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 = 'messages'
const REL_SENDER = 'sender'
const REL_RECIPIENTS = 'recipients'
- Data Fields inherited from SchemaProvider
const TYPE = ''

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider

Member Function Documentation

◆ getAttributes()

getAttributes (   $message,
ContextInterface  $context 

◆ getId()

getId (   $message)

◆ getRelationships()

getRelationships (   $message,
ContextInterface  $context 

Field Documentation


const REL_RECIPIENTS = 'recipients'


const REL_SENDER = 'sender'


const TYPE = 'messages'

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