Difference between revisions of "JDatabase::getAffectedRows"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→See also: moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabase::getAffectedRows== | =={{JVer|11.1}} JDatabase::getAffectedRows== | ||
===Description=== | ===Description=== | ||
− | Get the affected rows | + | Get the number of affected rows for the previous executed SQL statement. |
{{Description:JDatabase::getAffectedRows}} | {{Description:JDatabase::getAffectedRows}} | ||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabase::getAffectedRows|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabase::getAffectedRows|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getAffectedRows () |
</source> | </source> | ||
− | + | * '''Returns''' integer The number of affected rows. | |
− | + | * '''Defined''' on line 1132 of libraries/joomla/database/database.php | |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/database.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JDatabase::getAffectedRows source code''' on [[jplatform:database/database.php#cl-1124|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
+ | * [[API17:JDatabase::getAffectedRows|Other versions of JDatabase::getAffectedRows]] | ||
+ | {{SeeAlso:JDatabase::getAffectedRows}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabase::getAffectedRows|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabase::getAffectedRows|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 34: | Line 31: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 20:01, 11 May 2013
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::getAffectedRows[edit]
Description[edit]
Get the number of affected rows for the previous executed SQL statement.
Template:Description:JDatabase::getAffectedRows [Edit Descripton]
public function getAffectedRows ()
- Returns integer The number of affected rows.
- Defined on line 1132 of libraries/joomla/database/database.php
- Since
See also[edit]
- JDatabase::getAffectedRows source code on BitBucket
- Class JDatabase
- Subpackage Database
- Other versions of JDatabase::getAffectedRows
Template:SeeAlso:JDatabase::getAffectedRows [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />