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

Public Member Functions

 deleteExpiredQueuedPayments ()
 
 deleteQueuedPayment ($queuedPaymentId)
 
 getInsertId ()
 
getQueuedPayment ($queuedPaymentId)
 
 insertObject ($queuedPayment, $expiryDate=null)
 
 QueuedPaymentDAO ()
 
 updateQueuedPayment ($queuedPaymentId, &$queuedPayment)
 
- 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

Operations for retrieving and modifying queued payment objects.

See Also
QueuedPayment

Definition at line 19 of file QueuedPaymentDAO.inc.php.

Member Function Documentation

QueuedPaymentDAO::deleteExpiredQueuedPayments ( )

Delete expired queued payments.

Definition at line 111 of file QueuedPaymentDAO.inc.php.

References DAO\update().

QueuedPaymentDAO::deleteQueuedPayment (   $queuedPaymentId)

Delete a queued payment.

Parameters
$queuedPaymentIdint

Definition at line 101 of file QueuedPaymentDAO.inc.php.

References DAO\update().

QueuedPaymentDAO::getInsertId ( )

Get the ID of the last inserted queued payment.

Returns
int

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

References DAO\_getInsertId().

Referenced by insertObject().

& QueuedPaymentDAO::getQueuedPayment (   $queuedPaymentId)

Retrieve a queued payment by ID.

Parameters
$queuedPaymentIdint
Returns
QueuedPayment or null on failure

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

References DAO\retrieve().

QueuedPaymentDAO::insertObject (   $queuedPayment,
  $expiryDate = null 
)

Insert a new queued payment.

Parameters
$queuedPaymentQueuedPayment
$expiryDatedate optional

Definition at line 52 of file QueuedPaymentDAO.inc.php.

References DAO\datetimeToDB(), Core\getCurrentDate(), getInsertId(), and DAO\update().

QueuedPaymentDAO::QueuedPaymentDAO ( )

Constructor.

Definition at line 23 of file QueuedPaymentDAO.inc.php.

QueuedPaymentDAO::updateQueuedPayment (   $queuedPaymentId,
$queuedPayment 
)

Update an existing queued payment.

Parameters
$queuedPaymentIdint
$queuedPaymentQueuedPayment

Definition at line 74 of file QueuedPaymentDAO.inc.php.

References DAO\datetimeToDB(), Core\getCurrentDate(), and DAO\update().


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