JError::raise/1.6
From Joomla! Documentation
JError::raise
Description
Create a new object given the passed arguments.
Description:JError::raise [Edit Descripton]
public static function raise ( $level $code $msg $info=null $backtrace=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $level | int | The error level - use any of PHP's own error levels for this: E_ERROR, E_WARNING, E_NOTICE, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE. | |
| $code | string | The application-internal error code for this error | |
| $msg | string | The error message, which may also be shown the user if need be. | |
| $info | mixed | null | Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). |
| $backtrace | false |
- Returns mixed The object
- Defined on line 123 of libraries/joomla/error/error.php
- Since

- Referenced by
See also
JError source code on JoomlaCode
Class JError
Subpackage Error- Other versions of JError::raise
SeeAlso:JError::raise [Edit See Also]