Frontend\Core\Engine\RssItem::setGuid PHP Method

setGuid() public method

If the link is an internal link the sites URL will be prepended.
public setGuid ( string $link, boolean $isPermaLink = true )
$link string The guid for an item.
$isPermaLink boolean Is this link permanent?
    public function setGuid($link, $isPermaLink = true)
    {
        // redefine var
        $link = (string) $link;
        // if link doesn't start with http, we prepend the URL of the site
        if (mb_substr($link, 0, 7) != 'http://') {
            $link = SITE_URL . $link;
        }
        // call parent
        parent::setGuid($link, $isPermaLink);
    }