API17

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>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JObject::getError ($i=null, $toString=true)
+
public function getError (
 +
        $i=null
 +
        $toString=true
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string Error message
string Error message
+
* '''Defined''' on line 122 of libraries/joomla/base/object.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/base/object.php (line 122)
+
* '''Referenced by'''
* see source code in [[jplatform:base/object.php#cl-122|BitBucket]]
+
** [[JControllerForm::save/11.1|JControllerForm::save]]
===Referenced by===
 
* [[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>
* [[JObject/11.1|JObject]]
+
===User contributed notes===
* [[JObject::getError|Other versions of this method]]
 
{{SeeAlso:JObject::getError}}
 
===Examples===
 
 
<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.

Joomla 11.1 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 Joomla 11.1
  • Referenced by

See also[edit]

Template:SeeAlso:JObject::getError [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />