Public Member Functions | |
_construct () | |
isEnabled () | |
isRequired () | |
setDate ($date) | |
getDay () | |
getMonth () | |
getYear () | |
getDateFormat () |
Definition at line 27 of file Dob.php.
_construct | ( | ) |
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 29 of file Dob.php.
00030 { 00031 parent::_construct(); 00032 00033 // default template location 00034 $this->setTemplate('customer/widget/dob.phtml'); 00035 }
getDateFormat | ( | ) |
Returns format which will be applied for DOB in javascript
Definition at line 74 of file Dob.php.
00075 { 00076 return Mage::app()->getLocale()->getDateStrFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT); 00077 }
getDay | ( | ) |
getMonth | ( | ) |
getYear | ( | ) |
isEnabled | ( | ) |
isRequired | ( | ) |
setDate | ( | $ | date | ) |