SproutCMS

This is the code documentation for the SproutCMS project

function error()

Adds an error message to the list of messages that are shown to the user

Usage

void Notification::error ( string $message [, string $format [, string $scope ]] );

Arguments

  1. string $message
    The message to show
  2. string $format = plain
    $message_format Either 'plain' for plain-text or 'html' for HTML which is limited to a safe subset
  3. string $scope = default
    System to allow for multiple notification areas

Return value

  • void