PHP Class OpenAIREDAO, ojs

Inheritance: extends OAIDAO
Mostrar archivo Open project: pkp/ojs

Public Methods

Method Description
__construct ( ) Constructor.
getOpenAIRERecordsOrIdentifiers ( $setIds, $from, $until, $offset, $limit, &$total, $funcName ) : array Return set of OAI records matching specified parameters.
isOpenAIREArticle ( $articleId ) : boolean Check if it's an OpenAIRE article, if it contains projectID.
isOpenAIRERecord ( $row ) : boolean Check if it's an OpenAIRE record, if it contains projectID.
setOAI ( &$oai ) Set parent OAI object.

Method Details

__construct() public method

Constructor.
public __construct ( )

getOpenAIRERecordsOrIdentifiers() public method

Return set of OAI records matching specified parameters.
public getOpenAIRERecordsOrIdentifiers ( $setIds, $from, $until, $offset, $limit, &$total, $funcName ) : array
$setIds array Objects ids that specify an OAI set, in this case only journal ID.
$from int timestamp
$until int timestamp
$offset int
$limit int
$total int
$funcName string
return array OAIRecord

isOpenAIREArticle() public method

Check if it's an OpenAIRE article, if it contains projectID.
public isOpenAIREArticle ( $articleId ) : boolean
$articleId int
return boolean

isOpenAIRERecord() public method

Check if it's an OpenAIRE record, if it contains projectID.
public isOpenAIRERecord ( $row ) : boolean
$row array of database fields
return boolean

setOAI() public method

Set parent OAI object.
public setOAI ( &$oai )