Mage_Paypal_Block_Express_Review_Details Class Reference

Inheritance diagram for Mage_Paypal_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 34 of file Details.php.


Member Function Documentation

getAddress (  ) 

Definition at line 48 of file Details.php.

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

getItems (  ) 

Definition at line 56 of file Details.php.

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

getReview (  ) 

Get PayPal Express Review Information

Returns:
Mage_Paypal_Model_Express_Review

Definition at line 43 of file Details.php.

00044     {
00045         return Mage::getSingleton('paypal/express_review');
00046     }

getTotals (  ) 

Definition at line 67 of file Details.php.

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


Member Data Documentation

$_address [protected]

Definition at line 36 of file Details.php.


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

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