Source for file TransactionList.php
Documentation is available at TransactionList.php
* Model for a list of transactions
* @author Stephan Schmidt <schst@php.net>
* @todo improve handling of transactions (possibly store the itemId in each transaction object)
* @todo build seller object
private $transactions = array ();
* create new feedback model
public function __construct($transactions, $session = null )
if (isset ($transactions['Transactions']['Transaction'])) {
if (!isset ($transactions['Transactions']['Transaction'][0 ])) {
$transactions['Transactions']['Transaction'] = array ( $transactions['Transactions']['Transaction'] );
foreach ($transactions['Transactions']['Transaction'] as $tmp) {
unset ($transactions['Transactions']);
* iterate through the transactions
return new ArrayObject ($this->transactions);
Documentation generated on Mon, 11 Mar 2019 15:49:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|