Operations for retrieving and modifying PublishedMonograph objects. More...
Public Member Functions | |
| & | _fromRow ($row, $callHooks=true) |
| deleteById ($monographId) | |
| & | getByCategoryId ($categoryId, $pressId=null, $rangeInfo=null) |
| & | getById ($monographId, $pressId=null, $metadataApprovedOnly=true) |
| & | getByPressId ($pressId, $searchText=null, $rangeInfo=null) |
| & | getBySeriesId ($seriesId, $pressId=null, $rangeInfo=null) |
| & | getPressFeatures ($pressId, $rangeInfo=null) |
| insertObject (&$publishedMonograph) | |
| newDataObject () | |
| PublishedMonographDAO () | |
| updateObject ($publishedMonograph) | |
Operations for retrieving and modifying PublishedMonograph objects.
Definition at line 19 of file PublishedMonographDAO.inc.php.
| & PublishedMonographDAO._fromRow | ( | $ | row, | |
| $ | callHooks = true | |||
| ) |
Creates and returns a published monograph object from a row
| $row | array | |
| $callHooks | boolean Whether or not to call hooks |
Definition at line 281 of file PublishedMonographDAO.inc.php.
Referenced by getById().
| PublishedMonographDAO.deleteById | ( | $ | monographId | ) |
Removes an published monograph by monograph id
| monographId | int |
Reimplemented from MonographDAO.
Definition at line 327 of file PublishedMonographDAO.inc.php.
| & PublishedMonographDAO.getByCategoryId | ( | $ | categoryId, | |
| $ | pressId = null, |
|||
| $ | rangeInfo = null | |||
| ) |
Retrieve all published monographs in a category.
| $categoryId | int | |
| $pressId | int | |
| $rangeInfo | object optional |
Definition at line 176 of file PublishedMonographDAO.inc.php.
| & PublishedMonographDAO.getById | ( | $ | monographId, | |
| $ | pressId = null, |
|||
| $ | metadataApprovedOnly = true | |||
| ) |
Retrieve Published Monograph by monograph id
| $monographId | int | |
| $pressId | int |
Reimplemented from MonographDAO.
Definition at line 226 of file PublishedMonographDAO.inc.php.
References _fromRow().
| & PublishedMonographDAO.getByPressId | ( | $ | pressId, | |
| $ | searchText = null, |
|||
| $ | rangeInfo = null | |||
| ) |
Retrieve all published monographs in a press.
| $pressId | int | |
| $rangeInfo | object optional |
Definition at line 33 of file PublishedMonographDAO.inc.php.
| & PublishedMonographDAO.getBySeriesId | ( | $ | seriesId, | |
| $ | pressId = null, |
|||
| $ | rangeInfo = null | |||
| ) |
Retrieve all published monographs in a series.
| $seriesId | int | |
| $pressId | int | |
| $rangeInfo | object optional |
Definition at line 128 of file PublishedMonographDAO.inc.php.
| & PublishedMonographDAO.getPressFeatures | ( | $ | pressId, | |
| $ | rangeInfo = null | |||
| ) |
Retrieve featured monographs for the press homepage.
| $pressId | int | |
| $rangeInfo | object optional |
Definition at line 87 of file PublishedMonographDAO.inc.php.
| PublishedMonographDAO.insertObject | ( | &$ | publishedMonograph | ) |
Inserts a new published monograph into published_monographs table
| PublishedMonograph | object |
Definition at line 303 of file PublishedMonographDAO.inc.php.
| PublishedMonographDAO.newDataObject | ( | ) |
Generate and return a new data object.
Reimplemented from MonographDAO.
Definition at line 271 of file PublishedMonographDAO.inc.php.
| PublishedMonographDAO.PublishedMonographDAO | ( | ) |
Constructor.
Definition at line 23 of file PublishedMonographDAO.inc.php.
References MonographDAO.MonographDAO().
| PublishedMonographDAO.updateObject | ( | $ | publishedMonograph | ) |
Update a published monograph
| PublishedMonograph | object |
Definition at line 338 of file PublishedMonographDAO.inc.php.
1.7.1