PaperEmailLogDAO Class Reference
[Paper_log]

Class for inserting/accessing paper email log entries. More...

List of all members.

Public Member Functions

_returnLogEntryFromRow (&$row)
 deleteLogEntry ($logId, $paperId=null)
 deletePaperLogEntries ($paperId)
 getInsertLogId ()
getLogEntry ($logId, $paperId=null)
getPaperLogEntries ($paperId, $rangeInfo=null)
getPaperLogEntriesByAssoc ($paperId, $assocType=null, $assocId=null, $rangeInfo=null)
 insertLogEntry (&$entry)
 transferPaperLogEntries ($oldUserId, $newUserId)


Detailed Description

Class for inserting/accessing paper email log entries.

See also:
PaperEmailLogEntry

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


Member Function Documentation

& PaperEmailLogDAO._returnLogEntryFromRow ( &$  row  ) 

Internal function to return an PaperEmailLogEntry object from a row.

Parameters:
$row array
Returns:
PaperEmailLogEntry

Definition at line 90 of file PaperEmailLogDAO.inc.php.

Referenced by getLogEntry(), and getPaperLogEntriesByAssoc().

PaperEmailLogDAO.deleteLogEntry ( logId,
paperId = null 
)

Delete a single log entry for a paper.

Parameters:
$logId int
$paperId int optional

Definition at line 154 of file PaperEmailLogDAO.inc.php.

PaperEmailLogDAO.deletePaperLogEntries ( paperId  ) 

Delete all log entries for a paper.

Parameters:
$paperId int

Definition at line 172 of file PaperEmailLogDAO.inc.php.

PaperEmailLogDAO.getInsertLogId (  ) 

Get the ID of the last inserted log entry.

Returns:
int

Definition at line 193 of file PaperEmailLogDAO.inc.php.

Referenced by insertLogEntry().

& PaperEmailLogDAO.getLogEntry ( logId,
paperId = null 
)

Retrieve a log entry by ID.

Parameters:
$logId int
$paperId int optional
Returns:
PaperEmailLogEntry

Definition at line 27 of file PaperEmailLogDAO.inc.php.

References _returnLogEntryFromRow().

& PaperEmailLogDAO.getPaperLogEntries ( paperId,
rangeInfo = null 
)

Retrieve all log entries for a paper.

Parameters:
$paperId int
Returns:
DAOResultFactory containing matching PaperEmailLogEntry ordered by sequence

Definition at line 55 of file PaperEmailLogDAO.inc.php.

References getPaperLogEntriesByAssoc().

& PaperEmailLogDAO.getPaperLogEntriesByAssoc ( paperId,
assocType = null,
assocId = null,
rangeInfo = null 
)

Retrieve all log entries for a paper matching the specified association.

Parameters:
$paperId int
$assocType int
$assocId int
Returns:
DAOResultFactory containing matching PaperEventLogEntry ordered by sequence

Definition at line 67 of file PaperEmailLogDAO.inc.php.

References _returnLogEntryFromRow().

Referenced by getPaperLogEntries().

PaperEmailLogDAO.insertLogEntry ( &$  entry  ) 

Insert a new log entry.

Parameters:
$entry PaperEmailLogEntry

Definition at line 116 of file PaperEmailLogDAO.inc.php.

References getInsertLogId().

PaperEmailLogDAO.transferPaperLogEntries ( oldUserId,
newUserId 
)

Transfer all paper log entries to another user.

Parameters:
$paperId int

Definition at line 182 of file PaperEmailLogDAO.inc.php.


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7