Open Journal Systems  3.3.0
DRIVERDAO Class Reference
Inheritance diagram for DRIVERDAO:
OAIDAO PKPOAIDAO DAO

Public Member Functions

getDRIVERRecordsOrIdentifiers ($setIds, $from, $until, $offset, $limit, &$total, $funcName)
 
 setOAI ($oai)
 
- Public Member Functions inherited from OAIDAO
 __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())
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from DAO
static getDataChangedEvent ($elementId=null, $parentElementId=null, $content='')
 
- Data Fields inherited from OAIDAO
 $articleGalleyDao
 
 $authorDao
 
 $issueCache
 
 $issueDao
 
 $journalCache
 
 $journalDao
 
 $sectionCache
 
 $sectionDao
 
- Data Fields inherited from PKPOAIDAO
 $oai
 
- Data Fields inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table='', $id='')
 

Detailed Description

DAO operations for DRIVER.

Definition at line 19 of file DRIVERDAO.inc.php.

Member Function Documentation

◆ getDRIVERRecordsOrIdentifiers()

& DRIVERDAO::getDRIVERRecordsOrIdentifiers (   $setIds,
  $from,
  $until,
  $offset,
  $limit,
$total,
  $funcName 
)

Return set of OAI records matching specified parameters.

Parameters
$setIdsarray Objects ids that specify an OAI set, in this case only journal ID.
$fromint timestamp
$untilint timestamp
$offsetint
$limitint
$totalint
$funcNamestring
Returns
array OAIRecord

Definition at line 44 of file DRIVERDAO.inc.php.

References OAIDAO\_getRecordsRecordSet(), and PKPOAIDAO\_returnRecordFromRow().

◆ setOAI()

DRIVERDAO::setOAI (   $oai)

Set parent OAI object.

Parameters
JournalOAI

Reimplemented from PKPOAIDAO.

Definition at line 25 of file DRIVERDAO.inc.php.

References PKPOAIDAO\$oai.


The documentation for this class was generated from the following file: