API15

JQuery/from: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
Line 44: Line 44:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=from
  category=from
  category=JQuery
  category=JQuery
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:02, 25 March 2017

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

from($tables)
Parameter Name Default Value Description
$tables A string or array of table names

Defined in

libraries/joomla/database/query.php

Importing

jimport( 'joomla.database.query' );

Source Body

public function from($tables)
{
        if (is_null($this->_from)) {
                $this->_from = new JQueryElement('FROM', $tables);
        } else {
                $this->_from->append($tables);
        }

        return $this;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples