SproutCMS

This is the code documentation for the SproutCMS project

function anchor()

Create HTML link anchors.

Usage

string Html::anchor ( string $uri [, string $title [, array $attributes [, string $protocol [, boolean $escape_title ]]]] );

Arguments

  1. string $uri
    URL or URI string
  2. string $title = NULL
    link text
  3. array $attributes = NULL
    HTML anchor attributes
  4. string $protocol = NULL
    non-default protocol, eg: https
  5. boolean $escape_title = TRUE
    option to escape the title that is output

Return value

  • string