SproutCMS

This is the code documentation for the SproutCMS project

function __construct()

Construct the sanitiser given a string of HTML

Usage

void $RichTextSanitiser->__construct ( string $richtextData [, array $permitted_tags ] );

Arguments

  1. string $richtextData
    The HTML to sanitise
  2. array $permitted_tags = NULL
    An optional array of permitted tags to override the defaults

Return value

  • void