Difference between revisions of "JDatabaseQuery::delete"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseQuery::delete== | =={{JVer|11.1}} JDatabaseQuery::delete== | ||
===Description=== | ===Description=== | ||
− | + | ||
{{Description:JDatabaseQuery::delete}} | {{Description:JDatabaseQuery::delete}} | ||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseQuery::delete|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseQuery::delete|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function delete ($table=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 20: | Line 19: | ||
|- | |- | ||
|$table | |$table | ||
− | | | + | |string |
|null | |null | ||
− | | | + | |The name of the table to delete from. |
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' Returns this object to allow chaining. | |
− | + | * '''Defined''' on line 331 of libraries/joomla/database/databasequery.php | |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/databasequery.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JDatabaseQuery::delete source code''' on [[jplatform:database/databasequery.php#cl-323|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JDatabaseQuery/11.1|JDatabaseQuery]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
+ | * [[JDatabaseQuery::delete|Other versions of JDatabaseQuery::delete]] | ||
+ | {{SeeAlso:JDatabaseQuery::delete}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::delete|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::delete|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 46: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::delete]]</noinclude> | <noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::delete]]</noinclude> |
Revision as of 20:34, 27 April 2011
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.
JDatabaseQuery::delete[edit]
Description[edit]
Template:Description:JDatabaseQuery::delete [Edit Descripton]
public function delete ($table=null)
Parameter | Type | Default | Description |
---|---|---|---|
$table | string | null | The name of the table to delete from. |
- Returns Returns this object to allow chaining.
- Defined on line 331 of libraries/joomla/database/databasequery.php
- Since
See also[edit]
- JDatabaseQuery::delete source code on BitBucket
- Class JDatabaseQuery
- Subpackage Database
- Other versions of JDatabaseQuery::delete
Template:SeeAlso:JDatabaseQuery::delete [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />