| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Utilities |
JError |
raiseNotice |
raiseNotice() |
Never | Work in Progress |
This is a wrapper for the raise method that passes E_NOTICE as the error level. A patError object will be returned.
object &raiseNotice ( $code, $msg, $info )
| $code | string | is a string containing the application-internal error code for this error. |
| $msg | string | is a string containing the error message, which may also be shown the user if need be. |
| $info | mixed | is a variable containing additional error information. This should usually only be developer-relevant information that the user should not see (i.e. a database DSN). This parameter is optional and if omitted defaults to null. |
Example
JError::raiseNotice( '6000', 'File access error!' );
might produce:
Result
jos-Notice: File access error!