API16

JObject/getErrors: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:




{{subst:Description:JObject/getErrors}}
 


===Syntax===
===Syntax===
Line 27: Line 27:




{{subst:SeeAlso:JObject/getErrors}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getErrors
  category=getErrors
  category=JObject
  category=JObject
  category=CodeExample
  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