JObject/getErrors: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Return all errors, if any.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
<... |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
Return all errors, if any. | Return all errors, if any. | ||
===Syntax=== | ===Syntax=== | ||
| Line 28: | Line 26: | ||
</source> | </source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getErrors | category=getErrors | ||
category=JObject | category=JObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:56, 25 March 2017
Description
Return all errors, if any.
Syntax
getErrors()
Returns
array Array of error messages or JErrors.
Defined in
libraries/joomla/base/object.php
Importing
jimport( 'joomla.base.object' );
Source Body
public function getErrors()
{
return $this->_errors;
}
Examples
Code Examples