Mage_Checkout_Block_Onepage Class Reference

Inheritance diagram for Mage_Checkout_Block_Onepage:

Mage_Checkout_Block_Onepage_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getSteps ()
 getActiveStep ()


Detailed Description

Definition at line 34 of file Onepage.php.


Member Function Documentation

getActiveStep (  ) 

Definition at line 52 of file Onepage.php.

00053     {
00054         return $this->isCustomerLoggedIn() ? 'billing' : 'login';
00055     }

getSteps (  ) 

Definition at line 36 of file Onepage.php.

00037     {
00038         $steps = array();
00039 
00040         if (!$this->isCustomerLoggedIn()) {
00041             $steps['login'] = $this->getCheckout()->getStepData('login');
00042         }
00043 
00044         $stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review');
00045 
00046         foreach ($stepCodes as $step) {
00047             $steps[$step] = $this->getCheckout()->getStepData($step);
00048         }
00049         return $steps;
00050     }


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