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