SproutCMS

This is the code documentation for the SproutCMS project

function has()

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

Usage

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

Arguments

  1. int $type
    One of the Notification::TYPE_* constants
  2. string $scope = default
    System to allow for multiple notification areas

Return value

  • bool
    True if a notification has been set