Difference between revisions of "JObject::getError"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JObject::getError|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JObject::getError|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getError ( |
+ | $i=null | ||
+ | $toString=true | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string Error message | |
− | string Error message | + | * '''Defined''' on line 122 of libraries/joomla/base/object.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/base/object.php | + | * '''Referenced by''' |
− | * | + | ** [[JControllerForm::save/11.1|JControllerForm::save]] |
− | |||
− | * [[JControllerForm::save/11.1|JControllerForm::save]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JObject::getError source code''' on [[jplatform:base/object.php#cl-114|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JObject/11.1|JObject]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Base/11.1|Base]] | ||
+ | * [[JObject::getError|Other versions of JObject::getError]] | ||
+ | {{SeeAlso:JObject::getError}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JObject::getError|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JObject::getError|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 54: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JObject]][[Category:JObject::getError]]</noinclude> | <noinclude>[[Category:JObject]][[Category:JObject::getError]]</noinclude> |
Revision as of 21:25, 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.
JObject::getError[edit]
Description[edit]
Get the most recent error message.
Template:Description:JObject::getError [Edit Descripton]
public function getError (
$i=null
$toString=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$i | integer | null | Option error index. |
$toString | boolean | true | Indicates if objects should return their error message. |
- Returns string Error message
- Defined on line 122 of libraries/joomla/base/object.php
- Since
- Referenced by
See also[edit]
- JObject::getError source code on BitBucket
- Class JObject
- Subpackage Base
- Other versions of JObject::getError
Template:SeeAlso:JObject::getError [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />