Mage_Adminhtml_Block_System_Config_Form_Field_Datetime Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Config_Form_Field_Datetime:

Mage_Adminhtml_Block_System_Config_Form_Field Mage_Adminhtml_Block_Abstract Varien_Data_Form_Element_Renderer_Interface Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _getElementHtml (Varien_Data_Form_Element_Abstract $element)


Detailed Description

Definition at line 35 of file Datetime.php.


Member Function Documentation

_getElementHtml ( Varien_Data_Form_Element_Abstract element  )  [protected]

Enter description here...

Parameters:
Varien_Data_Form_Element_Abstract $element
Returns:
string

Reimplemented from Mage_Adminhtml_Block_System_Config_Form_Field.

Definition at line 37 of file Datetime.php.

00038     {
00039         $format = Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
00040         return Mage::app()->getLocale()->date(intval($element->getValue()))->toString($format);
00041     }


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

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