\acdhOeaw\oai\deletedDeletedInterface

Interface for OAI-PMH deleted records implementations.

It is a class because PHP doesn't consider static methods part of an interface therefore interface can't be used.

Summary

Methods
Properties
Constants
getDeletedRecord()
getDeletedClause()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getDeletedRecord()

getDeletedRecord() 

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

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

getDeletedClause()

getDeletedClause(string  $resVar, string  $setVar) : string

Creates a part of the SPARQL search query fetching if a resource is deleted or not.

Parameters

string $resVar

SPARQL variable denoting the resource URI

string $setVar

SPARQL variable which should denoted if the resource is deleted or not - any non empty value will indicate it is deleted

Returns

string