Mage_Checkout_Block_Onepage_Login Class Reference

Inheritance diagram for Mage_Checkout_Block_Onepage_Login:

Mage_Checkout_Block_Onepage_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getMessages ()
 getPostAction ()
 getMethod ()
 getMethodData ()
 getSuccessUrl ()
 getErrorUrl ()
 getUsername ()

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 35 of file Login.php.


Member Function Documentation

_construct (  )  [protected]

Internal constructor, that is called from real constructor

Please override this one instead of overriding real __construct constructor

Please override this one instead of overriding real __construct constructor

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 37 of file Login.php.

00038     {
00039         if (!$this->isCustomerLoggedIn()) {
00040             $this->getCheckout()->setStepData('login', array('label'=>Mage::helper('checkout')->__('Checkout method'), 'allow'=>true));
00041         }
00042         parent::_construct();
00043     }

getErrorUrl (  ) 

Definition at line 70 of file Login.php.

00071     {
00072         return $this->getUrl('*/*');
00073     }

getMessages (  ) 

Definition at line 45 of file Login.php.

00046     {
00047         return Mage::getSingleton('customer/session')->getMessages(true);
00048     }

getMethod (  ) 

Definition at line 55 of file Login.php.

00056     {
00057         return $this->getQuote()->getMethod();
00058     }

getMethodData (  ) 

Definition at line 60 of file Login.php.

00061     {
00062         return $this->getCheckout()->getMethodData();
00063     }

getPostAction (  ) 

Definition at line 50 of file Login.php.

00051     {
00052         return Mage::getUrl('customer/account/loginPost', array('_secure'=>true));
00053     }

getSuccessUrl (  ) 

Definition at line 65 of file Login.php.

00066     {
00067         return $this->getUrl('*/*');
00068     }

getUsername (  ) 

Retrieve username for form field

Returns:
string

Definition at line 80 of file Login.php.

00081     {
00082         return Mage::getSingleton('customer/session')->getUsername(true);
00083     }


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