Documentation

DeletedInterface

Interface for OAI-PMH deleted records implementations.

Tags
author

zozlak

Table of Contents

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.

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