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

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
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $message,
ContextInterface  $context 
)

◆ getId()

getId (   $message)

◆ getRelationships()

getRelationships (   $message,
ContextInterface  $context 
)

Field Documentation

◆ REL_RECIPIENTS

const REL_RECIPIENTS = 'recipients'

◆ REL_SENDER

const REL_SENDER = 'sender'

◆ TYPE

const TYPE = 'messages'

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