/** * Preparing global layout * * @return Mage_Wishlist_Block_Customer_Wishlist */ protected function _prepareLayout() { parent::_prepareLayout(); $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle($this->__('My Wishlist')); } }
/** * Prepare global layout * * @return Mage_Wishlist_Block_Share_Wishlist * */ protected function _prepareLayout() { parent::_prepareLayout(); $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle($this->getHeader()); } return $this; }