HeadModule::setFavIcon PHP Method

setFavIcon() public method

Sets the favicon location.
public setFavIcon ( $HRef )
        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');
            }
        }