view/activities/json.php
protected function _getUrl(KHttpUrlInterface $url)
    {
        if (!$url->getHost() && !$url->getScheme()) {
            $url->setUrl($this->getUrl()->toString(KHttpUrl::AUTHORITY));
        }

        return $url->toString(KHttpUrl::FULL, false);
    }
protected function _getUrl(KHttpUrlInterface $url)
    {
        if (!$url->getHost() && !$url->getScheme()) {
            $url->setUrl($this->getUrl()->toString(KHttpUrl::AUTHORITY));
        }

        return $url->toString(KHttpUrl::FULL, false);
    }
protected function _getUrl ( KHttpUrlInterface $ url ) { if ( ! $ url -> getHost ( ) && ! $ url -> getScheme ( ) ) { $ url -> setUrl ( $ this -> getUrl ( ) -> toString ( KHttpUrl :: AUTHORITY ) ) ; } return $ url -> toString ( KHttpUrl :: FULL , false ) ; }
URL getter.

Provides a fully qualified and un-escaped URL provided a URL object.

@param KHttpUrlInterface $url The URL.
@return string The fully qualified un-escaped URL.
URL getter .