SproutCMS

This is the code documentation for the SproutCMS project

function getErrors()

Get the list of errors produced during @see RichTextSanitiser::sanitise

Usage

array $RichTextSanitiser->getErrors ( );

Return value

  • array
    An array of error messages. Obviously, you must HTML encode each entry for them to be safe
                  for web use as they may contain values from the DOM.