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

Public Member Functions

 getId ($resource)
 
 getAttributes ($resource, ContextInterface $context)
 
 hasResourceMeta ($resource)
 
 getResourceMeta ($resource)
 
 getRelationships ($resource, 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 = 'mass-mail-permissions'
 
const REL_INSTITUTE = 'institute'
 
const REL_ALLOWED_DEGREES = 'allowed-degrees'
 
const REL_ALLOWED_SUBJECTS = 'allowed-subjects'
 
const REL_ALLOWED_INSTITUTES = 'allowed-institutes'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $resource,
ContextInterface  $context 
)

◆ getId()

getId (   $resource)

◆ getRelationships()

getRelationships (   $resource,
ContextInterface  $context 
)

◆ getResourceMeta()

getResourceMeta (   $resource)
Parameters
\MassMail\MassMailPermission$resource

◆ hasResourceMeta()

hasResourceMeta (   $resource)

Field Documentation

◆ REL_ALLOWED_DEGREES

const REL_ALLOWED_DEGREES = 'allowed-degrees'

◆ REL_ALLOWED_INSTITUTES

const REL_ALLOWED_INSTITUTES = 'allowed-institutes'

◆ REL_ALLOWED_SUBJECTS

const REL_ALLOWED_SUBJECTS = 'allowed-subjects'

◆ REL_INSTITUTE

const REL_INSTITUTE = 'institute'

◆ TYPE

const TYPE = 'mass-mail-permissions'

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