Mage_Core_Block_Text_Tag_Meta Class Reference

Inheritance diagram for Mage_Core_Block_Text_Tag_Meta:

Mage_Core_Block_Text Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _toHtml ()


Detailed Description

Definition at line 28 of file Meta.php.


Member Function Documentation

_toHtml (  )  [protected]

Override this method in descendants to produce html

Returns:
string

Reimplemented from Mage_Core_Block_Text.

Definition at line 30 of file Meta.php.

00031     {
00032         if (!$this->getContentType()) {
00033             $this->setContentType('text/html; charset=utf-8');
00034         }
00035         $this->addText('<meta http-equiv="Content-Type" content="'.$this->getContentType().'"/>'."\n");
00036         $this->addText('<title>'.$this->getTitle().'</title>'."\n");
00037         $this->addText('<meta name="title" content="'.$this->getTitle().'"/>'."\n");
00038         $this->addText('<meta name="description" content="'.$this->getDescription().'"/>'."\n");
00039         $this->addText('<meta name="keywords" content="'.$this->getKeywords().'"/>'."\n");
00040         $this->addText('<meta name="robots" content="'.$this->getRobots().'"/>'."\n");
00041 
00042         return parent::_toHtml();
00043     }


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