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

Public Member Functions

 getId ($resource)
 
 getAttributes ($resource, ContextInterface $context)
 
 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 REL_CHILDREN = 'children'
 
const REL_COURSEINFO = 'courseinfo'
 
const REL_COURSES = 'courses'
 
const REL_INSTITUTE = 'institute'
 
const REL_PARENT = 'parent'
 
const TYPE = 'tree-node'
 
- 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 
)

Field Documentation

◆ REL_CHILDREN

const REL_CHILDREN = 'children'

◆ REL_COURSEINFO

const REL_COURSEINFO = 'courseinfo'

◆ REL_COURSES

const REL_COURSES = 'courses'

◆ REL_INSTITUTE

const REL_INSTITUTE = 'institute'

◆ REL_PARENT

const REL_PARENT = 'parent'

◆ TYPE

const TYPE = 'tree-node'

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