PHP Class OAIDAO, ojs

Inheritance: extends PKPOAIDAO
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Свойство Type Description
$articleGalleyDao
$authorDao
$issueCache
$issueDao
$journalCache
$journalDao Helper DAOs
$journalSettingsDao
$publishedArticleDao
$sectionCache
$sectionDao

Méthodes publiques

Méthode 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 méthode

Constructor.
public __construct ( )

getAccessibleRecordWhereClause() public méthode

getDateRangeWhereClause() public méthode

public getDateRangeWhereClause ( $from, $until )

getEarliestDatestamp() public méthode

public getEarliestDatestamp ( $setIds = [] )

getIssue() public méthode

Cached function to get an issue
public getIssue ( $issueId ) : object
$issueId int
Résultat object

getJournal() public méthode

Cached function to get a journal
public getJournal ( $journalId ) : object
$journalId int
Résultat object

getJournalSets() public méthode

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

getRecordJoinClause() public méthode

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

getRecordSelectStatement() public méthode

getSection() public méthode

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

getSetJournalSectionId() public méthode

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
Résultat array (int, int)

setOAIData() public méthode

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