Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
Block Class Reference
Inheritance diagram for Block:
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-blocks'
 
const REL_COMMENTS = 'comments'
 
const REL_CONTAINER = 'container'
 
const REL_EDITBLOCKER = 'edit-blocker'
 
const REL_EDITOR = 'editor'
 
const REL_FEEDBACK = 'feedback'
 
const REL_OWNER = 'owner'
 
const REL_USERDATAFIELD = 'user-data-field'
 
const REL_USERPROGRESS = 'user-progress'
 
const REL_FILES = 'file-refs'
 
- 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 
)

{}

Field Documentation

const REL_COMMENTS = 'comments'
const REL_CONTAINER = 'container'
const REL_EDITBLOCKER = 'edit-blocker'
const REL_EDITOR = 'editor'
const REL_FEEDBACK = 'feedback'
const REL_FILES = 'file-refs'
const REL_OWNER = 'owner'
const REL_USERDATAFIELD = 'user-data-field'
const REL_USERPROGRESS = 'user-progress'
const TYPE = 'courseware-blocks'

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