API17

Difference between revisions of "JError::raiseError"

From Joomla! Documentation

m (moving preparation)
m (clean up)
Line 4: Line 4:
 
Wrapper method for the  method with predefined error level of E_ERROR and backtrace set to true.  
 
Wrapper method for the  method with predefined error level of E_ERROR and backtrace set to true.  
  
{{Description:JError::raiseError}}
+
{{subst:Description:JError::raiseError}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JError::raiseError|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function raiseError (
 
public static function raiseError (
Line 84: Line 82:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Error|Error]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Error|Error]]
 
* [[API17:JError::raiseError|Other versions of JError::raiseError]]
 
* [[API17:JError::raiseError|Other versions of JError::raiseError]]
{{SeeAlso:JError::raiseError}}
+
{{subst:SeeAlso:JError::raiseError}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JError::raiseError|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />

Revision as of 10:24, 24 March 2017

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::raiseError[edit]

Description[edit]

Wrapper method for the method with predefined error level of E_ERROR and backtrace set to true.

{{subst:Description:JError::raiseError}}

public static function raiseError (
        $code
        $msg
        $info=null
)
Parameter Type Default Description
$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).

See also[edit]

{{subst:SeeAlso:JError::raiseError}}

User contributed notes[edit]

<CodeExamplesForm />