Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
NewReleaseDAO Class Reference
Inheritance diagram for NewReleaseDAO:
DAO

Public Member Functions

 deleteByAssoc ($assocType, $assocId)
 
 deleteByMonographId ($monographId)
 
 deleteNewRelease ($monographId, $assocType, $assocId)
 
 getMonographIdsByAssoc ($assocType, $assocId)
 
 getMonographsByAssoc ($assocType, $assocId)
 
 insertNewRelease ($monographId, $assocType, $assocId)
 
 NewReleaseDAO ()
 
- Public Member Functions inherited from DAO
 concat ()
 
 convertFromDB ($value, $type)
 
 convertToDB ($value, &$type)
 
 DAO ($dataSource=null, $callHooks=true)
 
 dateFromDB ($d)
 
 datetimeFromDB ($dt)
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 flushCache ()
 
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 
 getAffectedRows ()
 
getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 getType ($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)
 
- Public Attributes inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table= '', $id= '')
 

Detailed Description

Operations for setting new release status on various items.

See Also
NewRelease

Definition at line 17 of file NewReleaseDAO.inc.php.

Member Function Documentation

NewReleaseDAO::deleteByAssoc (   $assocType,
  $assocId 
)

Delete a new release by association.

Parameters
$assocTypeint ASSOC_TYPE_...
$assocIdint

Definition at line 114 of file NewReleaseDAO.inc.php.

References DAO\update().

NewReleaseDAO::deleteByMonographId (   $monographId)

Delete a new release by ID.

Parameters
$monographIdint
$pressIdint optional

Definition at line 102 of file NewReleaseDAO.inc.php.

References DAO\update().

NewReleaseDAO::deleteNewRelease (   $monographId,
  $assocType,
  $assocId 
)

Delete a new release.

Parameters
$monographIdint
$assocTypeint ASSOC_TYPE_...
$assocIdint

Definition at line 127 of file NewReleaseDAO.inc.php.

References DAO\update().

NewReleaseDAO::getMonographIdsByAssoc (   $assocType,
  $assocId 
)

Get monograph IDs by association.

Parameters
$assocTypeint ASSOC_TYPE_...
$assocIdint
Returns
array monographId

Definition at line 31 of file NewReleaseDAO.inc.php.

References DAO\retrieve().

NewReleaseDAO::getMonographsByAssoc (   $assocType,
  $assocId 
)

Get monographs by association.

Parameters
$assocTypeint ASSOC_TYPE_...
$assocIdint
Returns
array Monograph

Definition at line 54 of file NewReleaseDAO.inc.php.

References DAORegistry\getDAO(), and DAO\retrieve().

NewReleaseDAO::insertNewRelease (   $monographId,
  $assocType,
  $assocId 
)

Insert a new NewRelease.

Parameters
$monographIdint
$assocTypeint ASSOC_TYPE_...
$assocIdint

Definition at line 83 of file NewReleaseDAO.inc.php.

References DAO\update().

NewReleaseDAO::NewReleaseDAO ( )

Constructor

Definition at line 21 of file NewReleaseDAO.inc.php.


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