SproutCMS

This is the code documentation for the SproutCMS project

function url()

Return the URL for a page, when given the page id
The URLs are relative

Usage

string Page::url ( int $id );

Arguments

  1. int $id
    The page id to return the URL for

Return value

  • string
    The friendly URL for the page