SproutCMS

This is the code documentation for the SproutCMS project

function popup()

Adds a popup message to the list of messages that are shown to the user

Usage

void Notification::popup ( string $message , array $actions [, string $scope ] );

Arguments

  1. string $message
    The message to show
  2. array $actions
    Additional buttons to show with the message. In the format [ url => label ]
  3. string $scope = default
    System to allow for multiple notification areas

Return value

  • void