SproutCMS

This is the code documentation for the SproutCMS project

function atag()

Return an opening A tag for a link specification.

Usage

string Lnk::atag ( string $spec , array $attributes );

Arguments

  1. string $spec
    A link specification
  2. array $attributes
    Additional link attributes
           These take precedence over any default attributes

Return value

  • string
    HTML for an opening A tag