Tombstone
in package
implements
DeletedInterface
Description of Tombstone
Tags
Table of Contents
Interfaces
- DeletedInterface
- Interface for OAI-PMH deleted records implementations.
Properties
- $config : object
- Configuration object
Methods
- __construct() : mixed
- getDeletedData() : QueryPart
- Returns an SQL query returning a table with two columns:
- getDeletedRecord() : string
- Returns the OAI-PMH `identify` response's `deletedRecord` value.
Properties
$config
Configuration object
private
object
$config
Methods
__construct()
public
__construct(object $config) : mixed
Parameters
- $config : object
getDeletedData()
Returns an SQL query returning a table with two columns:
public
getDeletedData() : QueryPart
-
id
[bigint] providing a repository resource id -
deleted
[bool] indication if the resource is deleted
Query may skip resources which are not deleted but it has to always return above-mentioned columns (even with no rows).
Return values
QueryPartgetDeletedRecord()
Returns the OAI-PMH `identify` response's `deletedRecord` value.
public
getDeletedRecord() : string
("no", "transient" or "persistent")