/** * @param Mage_Page_Block_Html_Head $head * @param string $rel * @param string $url */ public function addLinkRel($head, $rel, $url) { $items = $head->getData('items'); $items['link_rel_prev/' . $url] = array('type' => 'link_rel', 'name' => $url, 'params' => 'rel="' . $rel . '"', 'if' => null, 'cond' => null); $head->setData('items', $items); }
/** * @param Mage_Page_Block_Html_Head $head * @return string */ protected function _getInitialDescription($head) { $result = $head->getData('description'); return $result; }