SproutCMS

This is the code documentation for the SproutCMS project

function image()

Creates a image link.

Usage

string Html::image ( [ string $src [, string|array $alt [, boolean $index ]]] );

Arguments

  1. string $src = NULL
    image source, or an array of attributes
  2. string|array $alt = NULL
    image alt attribute, or an array of attributes
  3. boolean $index = FALSE
    include the index_page in the link

Return value

  • string