SproutCMS

This is the code documentation for the SproutCMS project

function ensureUrlAbsolute()

For a given URL, ensure it's absolute.
If it's not absolute, the current admin abs-root is prepended

Usage

string Admin::ensureUrlAbsolute ( string $url );

Arguments

  1. string $url
    Either relative or absolute

Return value

  • string
    Absolute URL