src/Url/Url.php
public static function getSkin($pUrl, $pRelative = true)
    {
        $url = Agl::APP_PUBLIC_DIR
               . ViewInterface::APP_HTTP_SKIN_DIR
               . DS
               . $pUrl;

        if ($pRelative) {
            return ROOT . $url;
        }

        return self::getHost(ROOT . $url);
    }
public static function getSkin($pUrl, $pRelative = true)
    {
        $url = Agl::APP_PUBLIC_DIR
               . ViewInterface::APP_HTTP_SKIN_DIR
               . DS
               . $pUrl;

        if ($pRelative) {
            return ROOT . $url;
        }

        return self::getHost(ROOT . $url);
    }
public static function getSkin ( $ pUrl , $ pRelative = true ) { $ url = Agl :: APP_PUBLIC_DIR . ViewInterface :: APP_HTTP_SKIN_DIR . DS . $ pUrl ; if ( $ pRelative ) { return ROOT . $ url ; } return self :: getHost ( ROOT . $ url ) ; }
Get the skin base URL.

@param string $pUrl Relative URL inside the skin directory
@param bool $pRelative Create a relative URL
@return string
Get the skin base URL .