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

Public Member Functions

 getByEventType ($fileId, $eventType, $userId=null)
 
 MonographFileEmailLogDAO ()
 
 newDataObject ()
 
- Public Member Functions inherited from EmailLogDAO
 _insertLogUserIds ($entry)
 
build ($row)
 
 changeUser ($oldUserId, $newUserId)
 
 deleteByAssoc ($assocType, $assocId)
 
 deleteObject ($logId, $assocType=null, $assocId=null)
 
 EmailLogDAO ()
 
 getByAssoc ($assocType=null, $assocId=null, $rangeInfo=null)
 
 getByEventType ($assocType, $assocId, $eventType, $userId=null, $rangeInfo=null)
 
 getById ($logId, $assocType=null, $assocId=null)
 
 getInsertId ()
 
 insertObject (&$entry)
 
- 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

Extension to EmailLogDAO for monograph file specific log entries.

See Also
EmailLogDAO

Definition at line 20 of file MonographFileEmailLogDAO.inc.php.

Member Function Documentation

MonographFileEmailLogDAO::getByEventType (   $fileId,
  $eventType,
  $userId = null 
)

Get monograph file email log entries by file ID and event type.

Parameters
$fileIdint
$eventTypeint SUBMISSION_EMAIL_...
$userIdint optional Return only emails sent to this user.
Returns
DAOResultFactory

Definition at line 45 of file MonographFileEmailLogDAO.inc.php.

MonographFileEmailLogDAO::MonographFileEmailLogDAO ( )

Constructor

Definition at line 24 of file MonographFileEmailLogDAO.inc.php.

MonographFileEmailLogDAO::newDataObject ( )

Instantiate and return a MonographFileEmailLogEntry.

Returns
MonographFileEmailLogEntry

Definition at line 32 of file MonographFileEmailLogDAO.inc.php.


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