SproutCMS

This is the code documentation for the SproutCMS project

function addUrlScheme()

Add a scheme (e.g. 'http://') to a URL which doesn't have one

Usage

string Url::addUrlScheme ( string $url );

Arguments

  1. string $url
    May or may not contain a scheme

Return value

  • string
    URL Always contains a scheme