SproutCMS

This is the code documentation for the SproutCMS project

class Notification

Provides user event notification functions

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends Notification {
    
    /**
    * Renders notification messages for display to the user
    **/
    public function checkMessages (string $scope) {
        // Method code goes here
    }
    
    /**
    * Checks to see if a notification of a particular type has been set
    **/
    public function has (int $type, string $scope) {
        // Method code goes here
    }
    
    /**
    * Adds a popup message to the list of messages that are shown to the user
    **/
    public function popup (string $message, array $actions, string $scope) {
        // Method code goes here
    }
    
    /**
    * Adds a confirmation message to the list of messages that are shown to the user
    **/
    public function confirm (string $message, string $format, string $scope) {
        // Method code goes here
    }
    
    /**
    * Adds an error message to the list of messages that are shown to the user
    **/
    public function error (string $message, string $format, string $scope) {
        // Method code goes here
    }
    
}
?>