public function setFavIcon($HRef) { if (!$this->_FavIconSet) { $this->_FavIconSet = true; $this->addTag('link', array('rel' => 'shortcut icon', 'href' => $HRef, 'type' => 'image/x-icon'), null, 'favicon'); } }