Used to handle generic success and error messages after processing a POST submission, when there isn't a particularly good URL to redirect to.
This is the code documentation for the SproutCMS project
Search documentation |
class ResultControllerUsed 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
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|