Actions

API17

Difference between revisions of "JError::raise"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JError::raise/11.1 to API17:JError::raise without leaving a redirect: Robot: Moved page)

Revision as of 17:45, 10 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 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

See also

SeeAlso:JError::raise [Edit See Also]

User contributed notes

<CodeExamplesForm />