$id2uri
$id2uri : array
Id to URI mappings
Provides FedoraResources cache (e.g. for a given Fedora object)
delete(\acdhOeaw\fedora\FedoraResource $res)
Removes given resource from cache.
\acdhOeaw\fedora\FedoraResource | $res | resource object |
reload(\acdhOeaw\fedora\FedoraResource $res)
Refreshes given resource in cache.
\acdhOeaw\fedora\FedoraResource | $res | resource object |
add(\acdhOeaw\fedora\FedoraResource $res)
Adds given object to the cache.
\acdhOeaw\fedora\FedoraResource | $res | resource object |
getById(string $id) : \acdhOeaw\fedora\FedoraResource
Gets a resource from cache by its repo internal id.
string | $id | resource's repo internal id |
getByUri(string $uri) : \acdhOeaw\fedora\FedoraResource
Gets a resource from cache by its URI.
string | $uri | resource URI |
getByMeta(Resource $meta) : \acdhOeaw\fedora\FedoraResource
Gets resource from cache matchin on any identifier (metadata id property).
Resource | $meta | resource's metadata |
getByObj(\acdhOeaw\schema\SchemaObject $obj) : \acdhOeaw\fedora\FedoraResource
Gets resource from cache matchin on any identifier (metadata id property).
\acdhOeaw\schema\SchemaObject | $obj | object able to provide metadata using a
|