Public Member Functions | |
getMessages () | |
getPostAction () | |
getMethod () | |
getMethodData () | |
getSuccessUrl () | |
getErrorUrl () | |
getUsername () | |
Protected Member Functions | |
_construct () |
Definition at line 35 of file Login.php.
_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 | ( | ) |
getMessages | ( | ) |
Definition at line 45 of file Login.php.
00046 { 00047 return Mage::getSingleton('customer/session')->getMessages(true); 00048 }
getMethod | ( | ) |
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 | ( | ) |
getUsername | ( | ) |
Retrieve username for form field
Definition at line 80 of file Login.php.
00081 { 00082 return Mage::getSingleton('customer/session')->getUsername(true); 00083 }