Mage_Core_Block_Text_Tag_Css Class Reference

Inheritance diagram for Mage_Core_Block_Text_Tag_Css:

Mage_Core_Block_Text_Tag Mage_Core_Block_Text Mage_Core_Block_Abstract Varien_Object Mage_Core_Block_Text_Tag_Css_Admin

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 Css.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.

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     }


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