Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
StudipNews Class Reference
Inheritance diagram for StudipNews:
SchemaProvider

Public Member Functions

 getId ($news)
 
 getAttributes ($news, ContextInterface $context)
 
 getRelationships ($news, 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)
 

Static Public Member Functions

static getRangeClasses ()
 
static getRangeTypes ()
 

Data Fields

const TYPE = 'news'
 
const REL_AUTHOR = 'author'
 
const REL_COMMENTS = 'comments'
 
const REL_RANGES = 'ranges'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

getAttributes (   $news,
ContextInterface  $context 
)
getId (   $news)
static getRangeClasses ( )
static
static getRangeTypes ( )
static
getRelationships (   $news,
ContextInterface  $context 
)

(PHPMD.UnusedFormalParameter)

Field Documentation

const REL_AUTHOR = 'author'
const REL_COMMENTS = 'comments'
const REL_RANGES = 'ranges'
const TYPE = 'news'

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