SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Notification

Provides user event notification functions

Variables

NameVisibilityDescription
$classes (static) 

Functions

NameVisibilityDescription
checkMessagespublic (static)Renders notification messages for display to the user
confirmpublic (static)Adds a confirmation message to the list of messages that are shown to the user
errorpublic (static)Adds an error message to the list of messages that are shown to the user
haspublic (static)Checks to see if a notification of a particular type has been set
popuppublic (static)Adds a popup message to the list of messages that are shown to the user

public checkMessages

string Notification::checkMessages ( [ string $scope ] );

Renders notification messages for display to the user

public confirm

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

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

public error

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

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

public has

bool Notification::has ( int $type [, string $scope ] );

Checks to see if a notification of a particular type has been set

public popup

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

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