API17:JObject::getError
From Joomla! Documentation
JObject::getError
Description
Get the most recent error message.
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
JObject::getError source code on BitBucket
Class JObject
Subpackage Base- Other versions of JObject::getError
User contributed notes
Code Examples