JDocumentError::setError: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Set error object. | Set error object. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 30: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]] | ||
* [[API17:JDocumentError::setError|Other versions of JDocumentError::setError]] | * [[API17:JDocumentError::setError|Other versions of JDocumentError::setError]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDocumentError::setError | category=JDocumentError::setError | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:53, 25 March 2017
JDocumentError::setError
Description
Set error object.
public function setError ($error)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $error | object | Error object to set |
- Returns boolean True on success
- Defined on line 56 of libraries/joomla/document/error/error.php
- Since

See also
JDocumentError::setError source code on BitBucket
Class JDocumentError
Subpackage Document- Other versions of JDocumentError::setError
User contributed notes
Code Examples