API17

JDatabaseQuery::from: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
=={{JVer|11.1}} JDatabaseQuery::from==
=={{JVer|11.1}} JDatabaseQuery::from==
===Description===
===Description===
Add a table to the FROM clause of the query.


{{Description:JDatabaseQuery::from}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseQuery::from|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseQuery->from ($tables)
public function from ($tables)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 20: Line 17:
|-
|-
|$tables
|$tables
|mixed
|
|
|
|A string or array of table names.
|
|-
|-
|}
|}
===Returns===
* '''Returns''' Returns this object to allow chaining.
* '''Defined''' on line 355 of libraries/joomla/database/databasequery.php
* '''Since''' {{JVer|11.1 }}
===See also===
* {{JVer|11.1}} '''JDatabaseQuery::from source code''' on [[jplatform:database/databasequery.php#cl-347|BitBucket]]
* {{JVer|11.1}} Class [[API17:JDatabaseQuery|JDatabaseQuery]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabaseQuery::from|Other versions of JDatabaseQuery::from]]
 


===Defined in===
===User contributed notes===
libraries/joomla/database/databasequery.php
=== Code Examples ===
===Referenced by===
* [[delete/11.1|delete]]
===See also===
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::from|Edit See Also]]<nowiki>]</nowiki>
</span>
* [[JDatabaseQuery/11.1|JDatabaseQuery]]
* [[JDatabaseQuery::from|Other versions of this method]]
{{SeeAlso:JDatabaseQuery::from}}
===Examples===
<CodeExamplesForm />
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseQuery::from
category=JDatabaseQuery::from
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::from]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:42, 25 March 2017

Joomla 11.1 JDatabaseQuery::from

Description

public function from ($tables)
Parameter Type Default Description
$tables mixed A string or array of table names.
  • Returns Returns this object to allow chaining.
  • Defined on line 355 of libraries/joomla/database/databasequery.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples