SproutCMS

This is the code documentation for the SproutCMS project

function site()

Fetches an absolute site URL based on a URI segment.

Usage

string Url::site ( [ string $uri [, string $protocol ]] );

Arguments

  1. string $uri = ''
    site URI to convert
  2. string $protocol = FALSE
    non-default protocol

Return value

  • string