Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Instance Class Reference
Inheritance diagram for Instance:
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)
 

Data Fields

const TYPE = 'courseware-instances'
 
const REL_BOOKMARKS = 'bookmarks'
 
const REL_ROOT = 'root'
 
- 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_BOOKMARKS = 'bookmarks'
const REL_ROOT = 'root'
const TYPE = 'courseware-instances'

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