Open Journal Systems  3.3.0
SubmissionEmailLogDAO Class Reference
Inheritance diagram for SubmissionEmailLogDAO:
EmailLogDAO DAO

Public Member Functions

 getByEventType ($submissionId, $eventType, $userId=null)
 
 getBySubmissionId ($submissionId)
 
 newDataObject ()
 
- Public Member Functions inherited from EmailLogDAO
 _getByEventType ($assocType, $assocId, $eventType, $userId=null, $rangeInfo=null)
 
 _insertLogUserIds ($entry)
 
build ($row)
 
 changeUser ($oldUserId, $newUserId)
 
 deleteByAssoc ($assocType, $assocId)
 
 deleteObject ($logId, $assocType=null, $assocId=null)
 
 getByAssoc ($assocType=null, $assocId=null, $rangeInfo=null)
 
 getById ($logId, $assocType=null, $assocId=null)
 
 getInsertId ()
 
 insertObject (&$entry)
 
- Public Member Functions inherited from DAO
 __construct ($dataSource=null, $callHooks=true)
 
 concat ()
 
 convertFromDB ($value, $type)
 
 convertToDB ($value, &$type)
 
 dateFromDB ($d)
 
 datetimeFromDB ($dt)
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 flushCache ()
 
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 
 getAdditionalFieldNames ()
 
 getAffectedRows ()
 
 getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject)
 
 getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 getLocaleFieldNames ()
 
 getType ($value)
 
 handleError ($dataSource, $sql)
 
 nullOrInt ($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, $content='')
 
- Data Fields inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table='', $id='')
 

Detailed Description

Extension to EmailLogDAO for submission-specific log entries.

See also
EmailLogDAO

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

Member Function Documentation

◆ getByEventType()

SubmissionEmailLogDAO::getByEventType (   $submissionId,
  $eventType,
  $userId = null 
)

Get submission email log entries by submission ID and event type

Parameters
$submissionIdint
$eventTypeSUBMISSION_EMAIL_...
$userIdint optional Return only emails sent to this user.
Returns
DAOResultFactory

Definition at line 39 of file SubmissionEmailLogDAO.inc.php.

◆ getBySubmissionId()

SubmissionEmailLogDAO::getBySubmissionId (   $submissionId)

Get submission email log entries by submission ID

Parameters
$submissionIdint
Returns
DAOResultFactory

Definition at line 48 of file SubmissionEmailLogDAO.inc.php.

References EmailLogDAO\getByAssoc().

◆ newDataObject()

SubmissionEmailLogDAO::newDataObject ( )

Instantiate and return a SubmissionEmailLogEntry

Returns
SubmissionEmailLogEntry

Definition at line 26 of file SubmissionEmailLogDAO.inc.php.


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