API15

API15:JQuery/from

From Joomla! Documentation

Revision as of 22:15, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JQuery/from}} ===Syntax==...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton]

Template:Description:JQuery/from

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;
}

[Edit See Also] Template:SeeAlso:JQuery/from

Examples

<CodeExamplesForm />