Public Member Functions | |
setHref ($href, $type=null) | |
Protected Member Functions | |
_construct () |
Definition at line 33 of file Admin.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_Text_Tag_Css.
Definition at line 36 of file Admin.php.
00037 { 00038 parent::_construct(); 00039 $theme = empty($_COOKIE['admtheme']) ? 'default' : $_COOKIE['admtheme']; 00040 $this->setAttribute('theme', $theme); 00041 }
setHref | ( | $ | href, | |
$ | type = null | |||
) |
Reimplemented from Mage_Core_Block_Text_Tag_Css.
Definition at line 43 of file Admin.php.
00044 { 00045 $type = (string)$type; 00046 if (empty($type)) { 00047 $type = 'skin'; 00048 } 00049 $url = Mage::getBaseUrl($type).$href.$this->getTheme().'.css'; 00050 return $this->setTagParam('href', $url); 00051 }