DAO operations for the OJS OAI interface. More...
Public Member Functions | |
| getAccessibleRecordWhereClause () | |
| getDateRangeWhereClause ($from, $until) | |
| getEarliestDatestamp ($setIds) | |
| & | getPress ($pressId) |
| getRecordJoinClause ($publicationFormatId=null, $setIds=array(), $set=null) | |
| getRecordSelectStatement () | |
| & | getSeries ($seriesId) |
| getSetPressSeriesId ($pressSpec, $seriesSpec, $restrictPressId=null) | |
| & | getSets ($pressId=null, $offset, $limit, &$total) |
| OAIDAO () | |
| & | setOAIData (&$record, &$row, $isRecord=true) |
DAO operations for the OJS OAI interface.
Definition at line 18 of file OAIDAO.inc.php.
| OAIDAO.getAccessibleRecordWhereClause | ( | ) |
Definition at line 196 of file OAIDAO.inc.php.
| OAIDAO.getDateRangeWhereClause | ( | $ | from, | |
| $ | until | |||
| ) |
Definition at line 203 of file OAIDAO.inc.php.
| OAIDAO.getEarliestDatestamp | ( | $ | setIds | ) |
Definition at line 53 of file OAIDAO.inc.php.
| & OAIDAO.getPress | ( | $ | pressId | ) |
Cached function to get a press
| $pressId | int |
Definition at line 62 of file OAIDAO.inc.php.
Referenced by getSets(), and setOAIData().
| OAIDAO.getRecordJoinClause | ( | $ | publicationFormatId = null, |
|
| $ | setIds = array(), |
|||
| $ | set = null | |||
| ) |
Definition at line 180 of file OAIDAO.inc.php.
| OAIDAO.getRecordSelectStatement | ( | ) |
Definition at line 167 of file OAIDAO.inc.php.
| & OAIDAO.getSeries | ( | $ | seriesId | ) |
Cached function to get a press series
| $seriesId | int |
Definition at line 74 of file OAIDAO.inc.php.
Referenced by setOAIData().
| OAIDAO.getSetPressSeriesId | ( | $ | pressSpec, | |
| $ | seriesSpec, | |||
| $ | restrictPressId = null | |||
| ) |
Return the press ID and series ID corresponding to a press/series pairing.
| $pressSpec | string | |
| $seriesSpec | string | |
| $restrictPressId | int |
Definition at line 137 of file OAIDAO.inc.php.
| & OAIDAO.getSets | ( | $ | pressId = null, |
|
| $ | offset, | |||
| $ | limit, | |||
| &$ | total | |||
| ) |
Return hierarchy of OAI sets (presses plus press series).
| $pressId | int | |
| $offset | int | |
| $total | int |
Definition at line 92 of file OAIDAO.inc.php.
References getPress().
| OAIDAO.OAIDAO | ( | ) |
Constructor.
Definition at line 41 of file OAIDAO.inc.php.
| & OAIDAO.setOAIData | ( | &$ | record, | |
| &$ | row, | |||
| $ | isRecord = true | |||
| ) |
Definition at line 212 of file OAIDAO.inc.php.
References getPress(), and getSeries().
1.7.1