| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JController |
getError |
getError() |
Never | Work in Progress |
Gets the error message.
This will return the value that was last set using the setError method. If the error has not been set, null will be returned.
string getError ()
Example
$controller = new JController(); $controller->setError( 'Just an example' ); echo $controller->getError();
might produce
Result
Just an example