JError::addToStack: Difference between revisions
From Joomla! Documentation
Layout updates |
m preparing for archive only |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Method to add non-JError thrown JExceptions to the stack for debugging purposes. | Method to add non-JError thrown JExceptions to the stack for debugging purposes. | ||
<source lang="php"> | <source lang="php"> | ||
public static | public static function addToStack (JException &$e) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' void | |||
void | * '''Defined''' on line 113 of libraries/joomla/error/error.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/error/error.php | * '''Referenced by''' | ||
* | ** [[API17:JException::__construct|JException::__construct]] | ||
* [[JException::__construct | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JError::addToStack source code''' on [[jplatform:error/error.php#cl-105|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JError|JError]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Error|Error]] | |||
* | * [[API17:JError::addToStack|Other versions of JError::addToStack]] | ||
* [[JError::addToStack|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JError::addToStack | category=JError::addToStack | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:57, 25 March 2017
JError::addToStack
Description
Method to add non-JError thrown JExceptions to the stack for debugging purposes.
public static function addToStack (JException &$e)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$e | object |
See also
JError::addToStack source code on BitBucket
Class JError
Subpackage Error- Other versions of JError::addToStack
User contributed notes
Code Examples