SproutCMS

This is the code documentation for the SproutCMS project

class ResultController

Used to handle generic success and error messages after processing a POST submission, when
there isn't a particularly good URL to redirect to.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-15
**/
class NewClassName extends ResultController {
    
    /**
    * Generic page for displaying one or more error messages set via {@see Notification::error}
    **/
    public function error () {
        // Method code goes here
    }
    
    /**
    * Generic page for displaying one or more success messages set via {@see Notification::confirm}
    **/
    public function success () {
        // Method code goes here
    }
    
}
?>