Protected Member Functions | |
_toHtml () |
Definition at line 28 of file Meta.php.
_toHtml | ( | ) | [protected] |
Override this method in descendants to produce html
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 }