Mage_Core_Block_Text_Tag_Css_Admin Class Reference

Inheritance diagram for Mage_Core_Block_Text_Tag_Css_Admin:

Mage_Core_Block_Text_Tag_Css Mage_Core_Block_Text_Tag Mage_Core_Block_Text Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 setHref ($href, $type=null)

Protected Member Functions

 _construct ()


Detailed Description

Base html block

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 33 of file Admin.php.


Member Function Documentation

_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     }


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

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