API17

Difference between revisions of "JDatabaseQuery::clear"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDatabaseQuery::clear|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDatabaseQuery::clear|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseQuery::clear ($clause=null)
+
public function clear ($clause=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|string
 
|string
 
|null
 
|null
|Optionally, the name of the clause to clear, or nothing to clear the whole query.
+
|$clear Optionally, the name of the clause to clear, or nothing to clear the whole query.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' void
void
+
* '''Defined''' on line 220 of libraries/joomla/database/databasequery.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/databasequery.php (line 178)
 
* see source code in [[jplatform:database/databasequery.php#cl-178|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDatabaseQuery::clear source code''' on [[jplatform:database/databasequery.php#cl-212|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JDatabaseQuery|JDatabaseQuery]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
 +
* [[API17:JDatabaseQuery::clear|Other versions of JDatabaseQuery::clear]]
 +
{{SeeAlso:JDatabaseQuery::clear}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::clear|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::clear|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDatabaseQuery/11.1|JDatabaseQuery]]
+
===User contributed notes===
* [[JDatabaseQuery::clear|Other versions of this method]]
 
{{SeeAlso:JDatabaseQuery::clear}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::clear]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 20:13, 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.

Joomla 11.1 JDatabaseQuery::clear[edit]

Description[edit]

Clear data from the query or a specific clause of the query.

Template:Description:JDatabaseQuery::clear [Edit Descripton]

public function clear ($clause=null)
Parameter Type Default Description
$clause string null $clear Optionally, the name of the clause to clear, or nothing to clear the whole query.
  • Returns void
  • Defined on line 220 of libraries/joomla/database/databasequery.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JDatabaseQuery::clear [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />