Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
StructuralElement Class Reference
Inheritance diagram for StructuralElement:
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 TYPE = 'courseware-structural-elements'
 
const REL_ANCESTORS = 'ancestors'
 
const REL_CHILDREN = 'children'
 
const REL_CONTAINERS = 'containers'
 
const REL_COURSE = 'course'
 
const REL_DESCENDANTS = 'descendants'
 
const REL_EDITBLOCKER = 'edit-blocker'
 
const REL_EDITOR = 'editor'
 
const REL_IMAGE = 'image'
 
const REL_OWNER = 'owner'
 
const REL_PARENT = 'parent'
 
const REL_USER = 'user'
 
const REL_TASK = 'task'
 
const REL_UNIT = 'unit'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

getAttributes (   $resource,
ContextInterface  $context 
)

{}

getId (   $resource)

{}

getRelationships (   $resource,
ContextInterface  $context 
)

{}

Parameters
StructuralElement$resource
ContextInterface$context

Field Documentation

const REL_ANCESTORS = 'ancestors'
const REL_CHILDREN = 'children'
const REL_CONTAINERS = 'containers'
const REL_COURSE = 'course'
const REL_DESCENDANTS = 'descendants'
const REL_EDITBLOCKER = 'edit-blocker'
const REL_EDITOR = 'editor'
const REL_IMAGE = 'image'
const REL_OWNER = 'owner'
const REL_PARENT = 'parent'
const REL_TASK = 'task'
const REL_UNIT = 'unit'
const REL_USER = 'user'
const TYPE = 'courseware-structural-elements'

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