API17:JError::getError
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JError::getError|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JError::getError|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function getError ($unset=false) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed Last exception object in the error stack or boolean false if none exist | |
| − | mixed Last exception object in the error stack or boolean false if none exist | + | * '''Defined''' on line 80 of libraries/joomla/error/error.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/error/error.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JError::getError source code''' on [[jplatform:error/error.php#cl-72|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JError/11.1|JError]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Error/11.1|Error]] | ||
| + | * [[JError::getError|Other versions of JError::getError]] | ||
| + | {{SeeAlso:JError::getError}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JError::getError|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JError::getError|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JError]][[Category:JError::getError]]</noinclude> | <noinclude>[[Category:JError]][[Category:JError::getError]]</noinclude> | ||
Revision as of 20:52, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JError::getError
Description
Method for retrieving the last exception object in the error stack.
Description:JError::getError [Edit Descripton]
public static function getError ($unset=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $unset | false |
- Returns mixed Last exception object in the error stack or boolean false if none exist
- Defined on line 80 of libraries/joomla/error/error.php
- Since
See also
-
JError::getError source code on BitBucket
-
Class JError
-
Subpackage Error
- Other versions of JError::getError
SeeAlso:JError::getError [Edit See Also]
User contributed notes
<CodeExamplesForm />
