Joomla! Programmierung/Framework/JError/raise
Aus Joomla! Dokumentation
JError/raise ToDo Beschreibung
Der DocComment dient nur zur Referenz - bitte entfernen /** * Create a new JException object given the passed arguments * * @static * @param int $level 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. * @param string $code The application-internal error code for this error * @param string $msg The error message, which may also be shown the user if need be. * @param mixed $info Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). * @return mixed The JException object * @since 1.5 * * @see JException */
Inhaltsverzeichnis |
[Bearbeiten] Syntax
static raise( $level, $code, $msg, [$info], [$backtrace] )
- @return mixed The JException object
- @since 1.5
| Parameter | Datentyp | Beschreibung | Standardwert |
|---|---|---|---|
| $level | ToDo Typ | ToDo Beschreibung | --- |
| $code | ToDo Typ | ToDo Beschreibung | --- |
| $msg | ToDo Typ | ToDo Beschreibung | --- |
| [$info] | ToDo Typ | ToDo Beschreibung | null |
| [$backtrace] | ToDo Typ | ToDo Beschreibung | false |
[Bearbeiten] Beispiel
ToDo Beispiele Baby...
//--Dein Beispiel[Bearbeiten] Siehe auch
- JError->raise() auf api.joomla.org
[Bearbeiten] Quellcode
{ // Deprecation warning. jimport('joomla.error.exception'); // Build error object }