Table of Contents
Constants
-
MODE_IMAGE
= 'image'
-
MODE_IMAGES
= 'images'
-
MODE_MANIFEST
= 'manifest'
Properties
-
$config
: object
-
$log
: LoggerInterface|null
-
$meta
: DatasetNodeInterface
-
$schema
: Schema
Methods
-
__construct()
: mixed
-
cacheHandler()
: ResponseCacheItem
-
getOutput()
: ResponseCacheItem
-
findFirstResource()
: TermInterface}
-
getImageInfoUrl()
: string
-
getImageList()
: string
-
getManifest()
: string
-
getManifestTitle()
: array<string, string>
-
getNextSbj()
: TermInterface|null
MODE_IMAGE
public
mixed
MODE_IMAGE
= 'image'
MODE_IMAGES
public
mixed
MODE_IMAGES
= 'images'
MODE_MANIFEST
public
mixed
MODE_MANIFEST
= 'manifest'
$config
private
object
$config
$log
private
LoggerInterface|null
$log
private
DatasetNodeInterface
$meta
$schema
private
Schema
$schema
__construct()
public
__construct(RepoResourceInterface $res, object $config[, LoggerInterface|null $log = null ]) : mixed
Parameters
-
$res
: RepoResourceInterface
-
-
$config
: object
-
-
$log
: LoggerInterface|null
= null
-
cacheHandler()
public
static cacheHandler(RepoResourceInterface $res, array<string|int, mixed> $param, object $config[, LoggerInterface|null $log = null ]) : ResponseCacheItem
Parameters
-
$res
: RepoResourceInterface
-
-
$param
: array<string|int, mixed>
-
-
$config
: object
-
-
$log
: LoggerInterface|null
= null
-
getOutput()
public
getOutput(string $mode) : ResponseCacheItem
Parameters
-
$mode
: string
-
findFirstResource()
private
findFirstResource() : TermInterface}
Return values
TermInterface}
getImageInfoUrl()
private
getImageInfoUrl(string $id) : string
Parameters
-
$id
: string
-
getImageList()
private
getImageList(TermInterface $firstRes, TermInterface $collectionRes) : string
Parameters
-
$firstRes
: TermInterface
-
-
$collectionRes
: TermInterface
-
getManifest()
private
getManifest(TermInterface $firstRes, TermInterface $collectionRes) : string
Parameters
-
$firstRes
: TermInterface
-
-
$collectionRes
: TermInterface
-
getManifestTitle()
private
getManifestTitle(LiteralInterface $x) : array<string, string>
Parameters
-
$x
: LiteralInterface
-
Return values
array<string, string>
getNextSbj()
private
getNextSbj(DatasetInterface $data, PredicateTemplate $collectionTmpl) : TermInterface|null
Parameters
-
$data
: DatasetInterface
-
-
$collectionTmpl
: PredicateTemplate
-
Return values
TermInterface|null