Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
_getRecordsRecordSet ($setIds, $from, $until, $set, $submissionId=null, $orderBy='journal_id, submission_id') | |
getEarliestDatestampQuery () | |
& | getIssue ($issueId) |
& | getJournal ($journalId) |
& | getJournalSets ($journalId, $offset, $limit, &$total) |
& | getSection ($sectionId) |
getSetJournalSectionId ($journalSpec, $sectionSpec, $restrictJournalId=null) | |
setOAIData ($record, $row, $isRecord=true) | |
Public Member Functions inherited from PKPOAIDAO | |
_doCommonOAIFromRowOperations ($record, $row) | |
_returnIdentifierFromRow ($row) | |
_returnRecordFromRow ($row) | |
clearTokens () | |
getEarliestDatestamp ($setIds=array()) | |
getIdentifiers ($setIds, $from, $until, $set, $offset, $limit, &$total) | |
getRecord ($dataObjectId, $setIds=array()) | |
getRecords ($setIds, $from, $until, $set, $offset, $limit, &$total) | |
getToken ($tokenId) | |
insertToken ($token) | |
recordExists ($dataObjectId, $setIds=array()) | |
setOAI ($oai) | |
Public Member Functions inherited from DAO | |
__construct ($dataSource=null, $callHooks=true) | |
concat () | |
convertFromDB ($value, $type) | |
convertToDB ($value, &$type) | |
dateFromDB ($d) | |
datetimeFromDB ($dt) | |
datetimeToDB ($dt) | |
dateToDB ($d) | |
flushCache () | |
formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) | |
getAdditionalFieldNames () | |
getAffectedRows () | |
getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) | |
getDataSource () | |
getDirectionMapping ($direction) | |
getDriver () | |
getLocaleFieldNames () | |
getType ($value) | |
handleError ($dataSource, $sql) | |
nullOrInt ($value) | |
replace ($table, $arrFields, $keyCols) | |
& | retrieve ($sql, $params=false, $callHooks=true) |
& | retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true) |
& | retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true) |
& | retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true) |
setCacheDir () | |
setDataSource ($dataSource) | |
update ($sql, $params=false, $callHooks=true, $dieOnError=true) | |
updateDataObjectSettings ($tableName, $dataObject, $idArray) | |
Data Fields | |
$articleGalleyDao | |
$authorDao | |
$issueCache | |
$issueDao | |
$journalCache | |
$journalDao | |
$sectionCache | |
$sectionDao | |
Data Fields inherited from PKPOAIDAO | |
$oai | |
Data Fields inherited from DAO | |
$_dataSource | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Protected Member Functions inherited from DAO | |
_getInsertId ($table='', $id='') | |
OAIDAO::__construct | ( | ) |
OAIDAO::_getRecordsRecordSet | ( | $setIds, | |
$from, | |||
$until, | |||
$set, | |||
$submissionId = null , |
|||
$orderBy = 'journal_id , |
|||
submission_id' | |||
) |
Get a OAI records record set.
$setIds | array Objects ids that specify an OAI set, in hierarchical order. |
$from | int/string *nix timestamp or ISO datetime string |
$until | int/string *nix timestamp or ISO datetime string |
$set | string |
$submissionId | int optional |
$orderBy | string UNFILTERED |
Reimplemented from PKPOAIDAO.
Definition at line 207 of file OAIDAO.inc.php.
References DAO\datetimeToDB(), and DAO\retrieve().
Referenced by DRIVERDAO\getDRIVERRecordsOrIdentifiers().
OAIDAO::getEarliestDatestampQuery | ( | ) |
Definition at line 51 of file OAIDAO.inc.php.
& OAIDAO::getIssue | ( | $issueId | ) |
Cached function to get an issue
$issueId | int |
Definition at line 71 of file OAIDAO.inc.php.
Referenced by setOAIData().
& OAIDAO::getJournal | ( | $journalId | ) |
Cached function to get a journal
$journalId | int |
Definition at line 59 of file OAIDAO.inc.php.
Referenced by setOAIData().
& OAIDAO::getJournalSets | ( | $journalId, | |
$offset, | |||
$limit, | |||
& | $total | ||
) |
Return hierarchy of OAI sets (journals plus journal sections).
$journalId | int |
$offset | int |
$total | int |
Definition at line 101 of file OAIDAO.inc.php.
References HookRegistry\call(), and DAORegistry\getDAO().
& OAIDAO::getSection | ( | $sectionId | ) |
Cached function to get a journal section
$sectionId | int |
Definition at line 83 of file OAIDAO.inc.php.
Referenced by setOAIData().
OAIDAO::getSetJournalSectionId | ( | $journalSpec, | |
$sectionSpec, | |||
$restrictJournalId = null |
|||
) |
Return the journal ID and section ID corresponding to a journal/section pairing.
$journalSpec | string |
$sectionSpec | string |
$restrictJournalId | int |
Definition at line 146 of file OAIDAO.inc.php.
OAIDAO::setOAIData | ( | $record, | |
$row, | |||
$isRecord = true |
|||
) |
Definition at line 173 of file OAIDAO.inc.php.
References PKPServices\get(), getIssue(), getJournal(), getSection(), and OAI\sets().
OAIDAO::$articleGalleyDao |
Definition at line 25 of file OAIDAO.inc.php.
OAIDAO::$authorDao |
Definition at line 27 of file OAIDAO.inc.php.
OAIDAO::$issueCache |
Definition at line 31 of file OAIDAO.inc.php.
OAIDAO::$issueDao |
Definition at line 26 of file OAIDAO.inc.php.
OAIDAO::$journalCache |
Definition at line 29 of file OAIDAO.inc.php.
OAIDAO::$journalDao |
Helper DAOs
Definition at line 23 of file OAIDAO.inc.php.
OAIDAO::$sectionCache |
Definition at line 30 of file OAIDAO.inc.php.
OAIDAO::$sectionDao |
Definition at line 24 of file OAIDAO.inc.php.