Public Member Functions

PublishedMonographDAO Class Reference
[Monograph]

Operations for retrieving and modifying PublishedMonograph objects. More...

Inheritance diagram for PublishedMonographDAO:
MonographDAO

List of all members.

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)

Detailed Description

Operations for retrieving and modifying PublishedMonograph objects.

See also:
PublishedMonograph

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


Member Function Documentation

& PublishedMonographDAO._fromRow ( row,
callHooks = true 
)

Creates and returns a published monograph object from a row

Parameters:
$row array
$callHooks boolean Whether or not to call hooks
Returns:
PublishedMonograph object

Definition at line 281 of file PublishedMonographDAO.inc.php.

Referenced by getById().

PublishedMonographDAO.deleteById ( monographId  ) 

Removes an published monograph by monograph id

Parameters:
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.

Parameters:
$categoryId int
$pressId int
$rangeInfo object optional
Returns:
DAOResultFactory

Definition at line 176 of file PublishedMonographDAO.inc.php.

& PublishedMonographDAO.getById ( monographId,
pressId = null,
metadataApprovedOnly = true 
)

Retrieve Published Monograph by monograph id

Parameters:
$monographId int
$pressId int
Returns:
PublishedMonograph object

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.

Parameters:
$pressId int
$rangeInfo object optional
Returns:
DAOResultFactory

Definition at line 33 of file PublishedMonographDAO.inc.php.

& PublishedMonographDAO.getBySeriesId ( seriesId,
pressId = null,
rangeInfo = null 
)

Retrieve all published monographs in a series.

Parameters:
$seriesId int
$pressId int
$rangeInfo object optional
Returns:
DAOResultFactory

Definition at line 128 of file PublishedMonographDAO.inc.php.

& PublishedMonographDAO.getPressFeatures ( pressId,
rangeInfo = null 
)

Retrieve featured monographs for the press homepage.

Parameters:
$pressId int
$rangeInfo object optional
Returns:
DAOResultFactory

Definition at line 87 of file PublishedMonographDAO.inc.php.

PublishedMonographDAO.insertObject ( &$  publishedMonograph  ) 

Inserts a new published monograph into published_monographs table

Parameters:
PublishedMonograph object

Definition at line 303 of file PublishedMonographDAO.inc.php.

PublishedMonographDAO.newDataObject (  ) 

Generate and return a new data object.

Returns:
PublishedMonograph

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

Parameters:
PublishedMonograph object

Definition at line 338 of file PublishedMonographDAO.inc.php.


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