SproutCMS

This is the code documentation for the SproutCMS project

function toolUrl()

Fetches the URL for a tool page for a specific controller entrance method

Usage

string Page::toolUrl ( string|Controller $class , string $method );

Arguments

  1. string|Controller $class
    Class
  2. string $method
    Method

Exceptions thrown

  • Exception
    if there's no matching tool page in the Navigation tree

Return value

  • string
    The URL to access the tool page