PHP Class OAIDAO, ojs

Inheritance: extends PKPOAIDAO
ファイルを表示 Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$articleGalleyDao
$authorDao
$issueCache
$issueDao
$journalCache
$journalDao Helper DAOs
$journalSettingsDao
$publishedArticleDao
$sectionCache
$sectionDao

Public Methods

Method Description
__construct ( ) Constructor.
getAccessibleRecordWhereClause ( )
getDateRangeWhereClause ( $from, $until )
getEarliestDatestamp ( $setIds = [] )
getIssue ( $issueId ) : object Cached function to get an issue
getJournal ( $journalId ) : object Cached function to get a journal
getJournalSets ( $journalId, $offset, $limit, &$total ) : array Return hierarchy of OAI sets (journals plus journal sections).
getRecordJoinClause ( $articleId = null, $setIds = [], $set = null )
getRecordSelectStatement ( )
getSection ( $sectionId ) : object Cached function to get a journal section
getSetJournalSectionId ( $journalSpec, $sectionSpec, $restrictJournalId = null ) : array Return the journal ID and section ID corresponding to a journal/section pairing.
setOAIData ( $record, $row, $isRecord = true )

Method Details

__construct() public method

Constructor.
public __construct ( )

getAccessibleRecordWhereClause() public method

getDateRangeWhereClause() public method

public getDateRangeWhereClause ( $from, $until )

getEarliestDatestamp() public method

public getEarliestDatestamp ( $setIds = [] )

getIssue() public method

Cached function to get an issue
public getIssue ( $issueId ) : object
$issueId int
return object

getJournal() public method

Cached function to get a journal
public getJournal ( $journalId ) : object
$journalId int
return object

getJournalSets() public method

Return hierarchy of OAI sets (journals plus journal sections).
public getJournalSets ( $journalId, $offset, $limit, &$total ) : array
$journalId int
$offset int
$total int
return array OAISet

getRecordJoinClause() public method

public getRecordJoinClause ( $articleId = null, $setIds = [], $set = null )

getRecordSelectStatement() public method

getSection() public method

Cached function to get a journal section
public getSection ( $sectionId ) : object
$sectionId int
return object

getSetJournalSectionId() public method

Return the journal ID and section ID corresponding to a journal/section pairing.
public getSetJournalSectionId ( $journalSpec, $sectionSpec, $restrictJournalId = null ) : array
$journalSpec string
$sectionSpec string
$restrictJournalId int
return array (int, int)

setOAIData() public method

public setOAIData ( $record, $row, $isRecord = true )

Property Details

$articleGalleyDao public_oe property

public $articleGalleyDao

$authorDao public_oe property

public $authorDao

$issueCache public_oe property

public $issueCache

$issueDao public_oe property

public $issueDao

$journalCache public_oe property

public $journalCache

$journalDao public_oe property

Helper DAOs
public $journalDao

$journalSettingsDao public_oe property

public $journalSettingsDao

$publishedArticleDao public_oe property

public $publishedArticleDao

$sectionCache public_oe property

public $sectionCache

$sectionDao public_oe property

public $sectionDao