Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PublicationFormatTombstoneManager Class Reference

Public Member Functions

 _getPublishedMonographFactoryByPressId ($pressId)
 
 deleteTombstonesByPressId ($pressId)
 
 deleteTombstonesByPublicationFormats ($publicationFormats)
 
 insertTombstoneByPublicationFormat (&$publicationFormat, &$press)
 
 insertTombstonesByPress ($press)
 
 insertTombstonesByPublicationFormats ($publicationFormats, $press)
 
 PublicationFormatTombstoneManager ()
 

Detailed Description

Class defining basic operations for publication format tombstones.

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

Member Function Documentation

PublicationFormatTombstoneManager::_getPublishedMonographFactoryByPressId (   $pressId)

Get the published monograph factory for the passed press id.

Parameters
$pressIdint
Returns
DAOResultFactory

Definition at line 121 of file PublicationFormatTombstoneManager.inc.php.

References DAORegistry\getDAO().

Referenced by deleteTombstonesByPressId(), and insertTombstonesByPress().

PublicationFormatTombstoneManager::deleteTombstonesByPressId (   $pressId)

Delete tombstone for every publication format inside the passed press.

Parameters
$pressIdint

Definition at line 104 of file PublicationFormatTombstoneManager.inc.php.

References _getPublishedMonographFactoryByPressId(), and deleteTombstonesByPublicationFormats().

PublicationFormatTombstoneManager::deleteTombstonesByPublicationFormats (   $publicationFormats)

Delete tombstone for every passed publication format.

Parameters
$publicationFormatsarray

Definition at line 93 of file PublicationFormatTombstoneManager.inc.php.

References DAORegistry\getDAO().

Referenced by deleteTombstonesByPressId().

PublicationFormatTombstoneManager::insertTombstoneByPublicationFormat ( $publicationFormat,
$press 
)

Insert a tombstone for the passed publication format.

Parameters
$publicationFormatPublicationFormat
$pressPress

Definition at line 29 of file PublicationFormatTombstoneManager.inc.php.

References HookRegistry\call(), DAORegistry\getDAO(), and Config\getVar().

Referenced by insertTombstonesByPublicationFormats().

PublicationFormatTombstoneManager::insertTombstonesByPress (   $press)

Insert tombstone for every publication format of the published monographs inside the passed press.

Parameters
$press

Definition at line 81 of file PublicationFormatTombstoneManager.inc.php.

References _getPublishedMonographFactoryByPressId(), and insertTombstonesByPublicationFormats().

PublicationFormatTombstoneManager::insertTombstonesByPublicationFormats (   $publicationFormats,
  $press 
)

Insert tombstone for every publication format inside the passed array.

Parameters
$publicationFormatsarray

Definition at line 70 of file PublicationFormatTombstoneManager.inc.php.

References insertTombstoneByPublicationFormat().

Referenced by insertTombstonesByPress().

PublicationFormatTombstoneManager::PublicationFormatTombstoneManager ( )

Constructor

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


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