API17

Difference between revisions of "JError::setErrorHandling"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JError::setErrorHandling|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JError::setErrorHandling|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JError::setErrorHandling ($level, $mode, $options=null)
+
public static function setErrorHandling (
 +
        $level
 +
        $mode
 +
        $options=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 262 of libraries/joomla/error/error.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/error/error.php
+
** [[JDatabase::getInstance/11.1|JDatabase::getInstance]]
===Referenced by===
+
** [[registerErrorLevel/11.1|registerErrorLevel]]
* [[JDatabase/getInstance/11.1|JDatabase::getInstance]]
 
* [[registerErrorLevel/11.1|registerErrorLevel]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JError::setErrorHandling source code''' on [[jplatform:error/error.php#cl-254|BitBucket]]
 +
* {{JVer|11.1}} Class [[JError/11.1|JError]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Error/11.1|Error]]
 +
* [[JError::setErrorHandling|Other versions of JError::setErrorHandling]]
 +
{{SeeAlso:JError::setErrorHandling}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JError::setErrorHandling|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JError::setErrorHandling|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JError/11.1|JError]]
+
===User contributed notes===
* [[JError::setErrorHandling|Other versions of this method]]
 
{{SeeAlso:JError::setErrorHandling}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: Line 60:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JError]][[Category:JError::setErrorHandling]]</noinclude>
 
<noinclude>[[Category:JError]][[Category:JError::setErrorHandling]]</noinclude>

Revision as of 20:53, 27 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::setErrorHandling[edit]

Description[edit]

Method to set the way the will handle different error levels.

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

public static function setErrorHandling (
        $level
        $mode
        $options=null
)
Parameter Type Default Description
$level
$mode
$options null

See also[edit]

Template:SeeAlso:JError::setErrorHandling [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />