Public Member Functions | |
getReview () | |
getAddress () | |
getItems () | |
getTotals () | |
Protected Attributes | |
$_address |
Definition at line 32 of file Details.php.
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
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 }
$_address [protected] |
Definition at line 34 of file Details.php.