Difference between revisions of "JDatabase::stderr"
From Joomla! Documentation
m (JoomlaWikiBot moved page JDatabase::stderr/11.1 to API17:JDatabase::stderr without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Return the most recent error message for the database connector. | Return the most recent error message for the database connector. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function stderr ($showSQL=false) | public function stderr ($showSQL=false) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabase::stderr source code''' on [[jplatform:database/database.php#cl-1469|BitBucket]] | * {{JVer|11.1}} '''JDatabase::stderr source code''' on [[jplatform:database/database.php#cl-1469|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDatabase | + | * {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JDatabase::stderr|Other versions of JDatabase::stderr]] | + | * [[API17:JDatabase::stderr|Other versions of JDatabase::stderr]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabase::stderr | category=JDatabase::stderr | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:35, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabase::stderr[edit]
Description[edit]
Return the most recent error message for the database connector.
public function stderr ($showSQL=false)
Parameter | Type | Default | Description |
---|---|---|---|
$showSQL | bool | false | True to display the SQL statement sent to the database as well as the error. |
- Returns string The error message for the most recent query.
- Defined on line 1477 of libraries/joomla/database/database.php
- Since
See also[edit]
- JDatabase::stderr source code on BitBucket
- Class JDatabase
- Subpackage Database
- Other versions of JDatabase::stderr
User contributed notes[edit]
Code Examples[edit]