API16

API16:JDatabaseMySQL/getTableList

From Joomla! Documentation

Description

Description


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

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


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

Examples

Code Examples