ocs  2.3.6
About: OCS (Open Conference System) is a Web publishing tool that will create a complete Web presence for your scholarly conference.
  Fossies Dox: ocs-2.3.6.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

QueuedPaymentDAO Class Reference

Operations for retrieving and modifying queued payment objects. More...

Inheritance diagram for QueuedPaymentDAO:
Collaboration diagram for QueuedPaymentDAO:

Public Member Functions

 QueuedPaymentDAO ()
 
getQueuedPayment ($queuedPaymentId)
 
 insertQueuedPayment (&$queuedPayment, $expiryDate=null)
 
 updateQueuedPayment ($queuedPaymentId, &$queuedPayment)
 
 getInsertQueuedPaymentId ()
 
 deleteQueuedPayment ($queuedPaymentId)
 
- Public Member Functions inherited from DAO
 DAO ($dataSource=null, $callHooks=true)
 
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)
 
 update ($sql, $params=false, $callHooks=true, $dieOnError=true)
 
 replace ($table, $arrFields, $keyCols)
 
 getInsertId ($table='', $id='', $callHooks=true)
 
 setCacheDir ()
 
 flushCache ()
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 datetimeFromDB ($dt)
 
 dateFromDB ($d)
 
 convertFromDB ($value, $type)
 
 getType ($value)
 
 convertToDB ($value, &$type)
 
 nullOrInt ($value)
 
 getAdditionalFieldNames ()
 
 getLocaleFieldNames ()
 
 updateDataObjectSettings ($tableName, &$dataObject, $idArray)
 
 getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, &$dataObject)
 
 getDriver ()
 
 getDirectionMapping ($direction)
 

Additional Inherited Members

- Public Attributes inherited from DAO
 $_dataSource
 

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

◆ deleteQueuedPayment()

QueuedPaymentDAO::deleteQueuedPayment (   $queuedPaymentId)

Delete a queued payment.

Parameters
$queuedPaymentIdint

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

References DAO\update().

◆ getInsertQueuedPaymentId()

QueuedPaymentDAO::getInsertQueuedPaymentId ( )

Get the ID of the last inserted queued payment.

Returns
int

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

References DAO\getInsertId().

Referenced by insertQueuedPayment().

◆ getQueuedPayment()

& QueuedPaymentDAO::getQueuedPayment (   $queuedPaymentId)

Retrieve a queued payment by ID.

Parameters
$queuedPaymentIdint
Returns
QueuedPayment

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

References DAO\retrieve().

◆ insertQueuedPayment()

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

Insert a new queued payment.

Parameters
$paymentPayment
$expiryDatedate optional

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

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

◆ QueuedPaymentDAO()

QueuedPaymentDAO::QueuedPaymentDAO ( )

Constructor.

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

◆ updateQueuedPayment()

QueuedPaymentDAO::updateQueuedPayment (   $queuedPaymentId,
$queuedPayment 
)

Update an existing queued payment.

Parameters
$queuedPaymentIdint
$paymentPayment

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

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


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