API16

API16:JDatabaseMySQL/getTableList

From Joomla! Documentation

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

Description

Description

[Edit Descripton]

Template:Description:JDatabaseMySQL/getTableList

Syntax

getTableList()


Returns

array A list of all the tables in the database

Defined in

libraries/joomla/database/database/mysql.php

Importing

jimport( 'joomla.database.database.mysql' );

Source Body

public function getTableList()
{
        $this->setQuery('SHOW TABLES');
        return $this->loadResultArray();
}

[Edit See Also] Template:SeeAlso:JDatabaseMySQL/getTableList

Examples

<CodeExamplesForm />