Documentation

Tombstone
in package
implements DeletedInterface

Description of Tombstone

Tags
author

zozlak

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
QueryPart

getDeletedRecord()

Returns the OAI-PMH `identify` response's `deletedRecord` value.

public getDeletedRecord() : string

("no", "transient" or "persistent")

Return values
string

        
On this page

Search results