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

Public Member Functions

 getId ($category)
 
 getAttributes ($category, ContextInterface $context)
 
 getRelationships ($category, ContextInterface $context)
 
 addCourseRelationship ($category, $isPrimary, $includeList)
 
- 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 = 'forum-categories'
 
const REL_COURSE = 'course'
 
const REL_ENTRY = 'entries'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

addCourseRelationship (   $category,
  $isPrimary,
  $includeList 
)
getAttributes (   $category,
ContextInterface  $context 
)
getId (   $category)
getRelationships (   $category,
ContextInterface  $context 
)

Field Documentation

const REL_COURSE = 'course'
const REL_ENTRY = 'entries'
const TYPE = 'forum-categories'

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