API17

Difference between revisions of "JError::raise"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 50: Line 50:
 
mixed The  object
 
mixed The  object
 
===Defined in===
 
===Defined in===
libraries/joomla/error/error.php
+
libraries/joomla/error/error.php (line 123)
 +
* see source code in [[jplatform:error/error.php#cl-123|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
* [[raiseError/11.1|raiseError]]
 
* [[raiseError/11.1|raiseError]]

Revision as of 20:27, 23 April 2011

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JError::raise[edit]

Description[edit]

Create a new object given the passed arguments.

Template:Description:JError::raise [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

public static JError::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[edit]

mixed The object

Defined in[edit]

libraries/joomla/error/error.php (line 123)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JError::raise

Examples[edit]

<CodeExamplesForm />