Public Member Functions | |
getChangeLocaleUrl () | |
getUrlForReferer () | |
getRefererParamName () | |
getLanguageSelect () | |
Protected Member Functions | |
_construct () |
Definition at line 35 of file Footer.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 38 of file Footer.php.
getChangeLocaleUrl | ( | ) |
Definition at line 44 of file Footer.php.
00045 { 00046 return $this->getUrl('adminhtml/index/changeLocale'); 00047 }
getLanguageSelect | ( | ) |
Definition at line 59 of file Footer.php.
00060 { 00061 $html = $this->getLayout()->createBlock('adminhtml/html_select') 00062 ->setName('locale') 00063 ->setId('interface_locale') 00064 ->setTitle(Mage::helper('page')->__('Interface Language')) 00065 ->setExtraParams('style="width:200px"') 00066 ->setValue(Mage::app()->getLocale()->getLocaleCode()) 00067 ->setOptions(Mage::app()->getLocale()->getTranslatedOptionLocales()) 00068 ->getHtml(); 00069 return $html; 00070 }
getRefererParamName | ( | ) |
Definition at line 54 of file Footer.php.
00055 { 00056 return Mage_Core_Controller_Varien_Action::PARAM_NAME_URL_ENCODED; 00057 }
getUrlForReferer | ( | ) |
Definition at line 49 of file Footer.php.
00050 { 00051 return $this->getUrlEncoded('*/*/*',array('_current'=>true)); 00052 }