SproutCMS

This is the code documentation for the SproutCMS project

function expandolink()

Replaces an expando with a link to the specified URL

This method might not preserve whitespace in the input html.
The link is only appended if the content actually contained expandos.
The lunk url is optional. If not provided, no link gets appended.

Usage

unknown ContentReplace::expandolink ( string $html [, string $url ] );

Arguments

  1. string $html
    The HTML which contains expandos.
  2. string $url = NULL
    A url for the link which gets appended to the end.