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

Public Member Functions

 getId ($resource)
 
 hasResourceMeta ($resource)
 
 getResourceMeta ($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 = 'file-refs'
 
const REL_FEEDBACK = 'feedback-elements'
 
const REL_FILE = 'file'
 
const REL_OWNER = 'owner'
 
const REL_PARENT = 'parent'
 
const REL_RANGE = 'range'
 
const REL_TERMS = 'terms-of-use'
 
const META_CONTENT = 'content'
 
- 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 
)

(PHPMD.UnusedFormalParameter)

◆ getResourceMeta()

getResourceMeta (   $resource)

◆ hasResourceMeta()

hasResourceMeta (   $resource)

Field Documentation

◆ META_CONTENT

const META_CONTENT = 'content'

◆ REL_FEEDBACK

const REL_FEEDBACK = 'feedback-elements'

◆ REL_FILE

const REL_FILE = 'file'

◆ REL_OWNER

const REL_OWNER = 'owner'

◆ REL_PARENT

const REL_PARENT = 'parent'

◆ REL_RANGE

const REL_RANGE = 'range'

◆ REL_TERMS

const REL_TERMS = 'terms-of-use'

◆ TYPE

const TYPE = 'file-refs'

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