ConferenceEventLogDAO Class Reference
[Conference_log]

Class for inserting/accessing conference history log entries. More...

List of all members.

Public Member Functions

& _returnLogEntryFromRow (&$row)
 ConferenceEventLogDAO ()
 deleteConferenceLogEntries ($conferenceId, $schedConfId=null)
 deleteLogEntry ($logId, $conferenceId, $schedConfId=null)
& getConferenceLogEntries ($conferenceId, $schedConfId=null, $rangeInfo=null)
& getConferenceLogEntriesByAssoc ($conferenceId, $schedConfId=null, $assocType=null, $assocId=null, $rangeInfo=null)
 getInsertLogId ()
& getLogEntry ($logId, $conferenceId=null, $schedConfId=null)
 insertLogEntry (&$entry)
 transferConferenceLogEntries ($oldUserId, $newUserId)


Detailed Description

Class for inserting/accessing conference history log entries.

See also:
ConferenceEventLogEntry

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


Member Function Documentation

& ConferenceEventLogDAO._returnLogEntryFromRow ( &$  row  ) 

Internal function to return an ConferenceEventLogEntry object from a row.

Parameters:
$row array
Returns:
ConferenceEventLogEntry

Definition at line 160 of file ConferenceEventLogDAO.inc.php.

Referenced by getConferenceLogEntriesByAssoc(), and getLogEntry().

ConferenceEventLogDAO.ConferenceEventLogDAO (  ) 

Constructor.

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

ConferenceEventLogDAO.deleteConferenceLogEntries ( $  conferenceId,
$  schedConfId = null 
)

Delete all log entries for a conference.

Parameters:
$conferenceId int

Definition at line 241 of file ConferenceEventLogDAO.inc.php.

ConferenceEventLogDAO.deleteLogEntry ( $  logId,
$  conferenceId,
$  schedConfId = null 
)

Delete a single log entry for a conference.

Parameters:
$logId int
$conferenceId int
$schedConfId int optional

Definition at line 225 of file ConferenceEventLogDAO.inc.php.

& ConferenceEventLogDAO.getConferenceLogEntries ( $  conferenceId,
$  schedConfId = null,
$  rangeInfo = null 
)

Retrieve all log entries for a conference.

Parameters:
$conferenceId int
$schedConfId int
Returns:
DAOResultFactory containing matching ConferenceEventLogEntry ordered by sequence

Definition at line 94 of file ConferenceEventLogDAO.inc.php.

References getConferenceLogEntriesByAssoc().

& ConferenceEventLogDAO.getConferenceLogEntriesByAssoc ( $  conferenceId,
$  schedConfId = null,
$  assocType = null,
$  assocId = null,
$  rangeInfo = null 
)

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

Parameters:
$conferenceId int
$schedConfId int
$assocType int
$assocId int
$limit int limit the number of entries retrieved (default false)
$recentFirst boolean order with most recent entries first (default true)
Returns:
DAOResultFactory containing matching ConferenceEventLogEntry ordered by sequence

Definition at line 109 of file ConferenceEventLogDAO.inc.php.

References _returnLogEntryFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

Referenced by getConferenceLogEntries().

ConferenceEventLogDAO.getInsertLogId (  ) 

Get the ID of the last inserted log entry.

Returns:
int

Definition at line 269 of file ConferenceEventLogDAO.inc.php.

Referenced by insertLogEntry().

& ConferenceEventLogDAO.getLogEntry ( $  logId,
$  conferenceId = null,
$  schedConfId = null 
)

Retrieve a log entry by ID.

Parameters:
$logId int
$conferenceId int optional
Returns:
ConferenceEventLogEntry

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

References _returnLogEntryFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

ConferenceEventLogDAO.insertLogEntry ( &$  entry  ) 

Insert a new log entry.

Parameters:
$entry ConferenceEventLogEntry

Definition at line 187 of file ConferenceEventLogDAO.inc.php.

References getInsertLogId().

ConferenceEventLogDAO.transferConferenceLogEntries ( $  oldUserId,
$  newUserId 
)

Transfer all conference log entries to another user.

Parameters:
$oldUserId int
$newUserId int

Definition at line 258 of file ConferenceEventLogDAO.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