Public Member Functions | |
setHref ($href, $type=null) | |
Protected Member Functions | |
_construct () |
Definition at line 33 of file Css.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.
Reimplemented in Mage_Core_Block_Text_Tag_Css_Admin.
Definition at line 36 of file Css.php.
00037 { 00038 parent::_construct(); 00039 $this->setTagName('link'); 00040 $this->setTagParams(array('rel'=>'stylesheet', 'type'=>'text/css', 'media'=>'all')); 00041 }
setHref | ( | $ | href, | |
$ | type = null | |||
) |
Reimplemented in Mage_Core_Block_Text_Tag_Css_Admin.
Definition at line 43 of file Css.php.
00044 { 00045 $type = (string)$type; 00046 if (empty($type)) { 00047 $type = 'skin'; 00048 } 00049 $url = Mage::getBaseUrl($type).$href; 00050 00051 return $this->setTagParam('href', $url); 00052 }