Mage_PaypalUk_Block_Express_Review_Details Class Reference

Inheritance diagram for Mage_PaypalUk_Block_Express_Review_Details:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getReview ()
 getAddress ()
 getItems ()
 getTotals ()

Protected Attributes

 $_address


Detailed Description

Definition at line 32 of file Details.php.


Member Function Documentation

getAddress (  ) 

Definition at line 46 of file Details.php.

00047     {
00048         if (empty($this->_address)) {
00049             $this->_address = $this->getReview()->getQuote()->getShippingAddress();
00050         }
00051         return $this->_address;
00052     }

getItems (  ) 

Definition at line 54 of file Details.php.

00055     {
00056 //      $priceFilter = Mage::app()->getStore()->getPriceFilter();
00057 //        $itemsFilter = new Varien_Filter_Object_Grid();
00058 //        $itemsFilter->addFilter(new Varien_Filter_Sprintf('%d'), 'qty');
00059 //        $itemsFilter->addFilter($priceFilter, 'price');
00060 //        $itemsFilter->addFilter($priceFilter, 'row_total');
00061 //        return $itemsFilter->filter($this->getAddress()->getAllItems());
00062         return $this->getReview()->getQuote()->getAllItems();
00063     }

getReview (  ) 

Get PayPal Express Review Information

Returns:
Mage_Paypal_Model_Express_Review

Definition at line 41 of file Details.php.

00042     {
00043         return Mage::getSingleton('paypaluk/express_review');
00044     }

getTotals (  ) 

Definition at line 65 of file Details.php.

00066     {
00067 //        $totals = $this->getAddress()->getTotals();
00068 //        $totalsFilter = new Varien_Filter_Object_Grid();
00069 //        $totalsFilter->addFilter(Mage::app()->getStore()->getPriceFilter(), 'value');
00070 //        return $totalsFilter->filter($totals);
00071         return $this->getReview()->getQuote()->getTotals();
00072     }


Member Data Documentation

$_address [protected]

Definition at line 34 of file Details.php.


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

Generated on Sat Jul 4 17:24:33 2009 for Magento by  doxygen 1.5.8