Mage_Checkout_Block_Multishipping_Billing_Items Class Reference

Inheritance diagram for Mage_Checkout_Block_Multishipping_Billing_Items:

Mage_Sales_Block_Items_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getCheckout ()
 getQuote ()
 getVirtualProductEditUrl ()
 getVirtualQuoteItems ()


Detailed Description

Definition at line 34 of file Items.php.


Member Function Documentation

getCheckout (  ) 

Get multishipping checkout model

Returns:
Mage_Checkout_Model_Type_Multishipping

Definition at line 41 of file Items.php.

00042     {
00043         return Mage::getSingleton('checkout/type_multishipping');
00044     }

getQuote (  ) 

Retrieve quote model object

Returns:
Mage_Sales_Model_Quote

Definition at line 51 of file Items.php.

00052     {
00053         return Mage::getSingleton('checkout/session')->getQuote();
00054     }

getVirtualProductEditUrl (  ) 

Retrieve virtual product edit url

Returns:
string

Definition at line 61 of file Items.php.

00062     {
00063         return $this->getUrl('*/cart');
00064     }

getVirtualQuoteItems (  ) 

Retrieve virtual product collection array

Returns:
array

Definition at line 71 of file Items.php.

00072     {
00073         $items = array();
00074         foreach ($this->getQuote()->getItemsCollection() as $_item) {
00075             if ($_item->getProduct()->getIsVirtual() && !$_item->getParentItemId()) {
00076                 $items[] = $_item;
00077             }
00078         }
00079         return $items;
00080     }


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

Generated on Sat Jul 4 17:23:50 2009 for Magento by  doxygen 1.5.8