API17:JDocumentError::setError
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDocumentError::setError|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDocumentError::setError|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function setError ($error) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success | |
| − | boolean True on success | + | * '''Defined''' on line 56 of libraries/joomla/document/error/error.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/document/error/error.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDocumentError::setError source code''' on [[jplatform:document/error/error.php#cl-48|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDocumentError/11.1|JDocumentError]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Document/11.1|Document]] | ||
| + | * [[JDocumentError::setError|Other versions of JDocumentError::setError]] | ||
| + | {{SeeAlso:JDocumentError::setError}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDocumentError::setError|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDocumentError::setError|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDocumentError]][[Category:JDocumentError::setError]]</noinclude> | <noinclude>[[Category:JDocumentError]][[Category:JDocumentError::setError]]</noinclude> | ||
Revision as of 20:47, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDocumentError::setError
Description
Set error object.
Description:JDocumentError::setError [Edit Descripton]
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
SeeAlso:JDocumentError::setError [Edit See Also]
User contributed notes
<CodeExamplesForm />
