JDatabaseMySQL/getTableList: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m preparing for archive only |
||
| Line 35: | Line 35: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getTableList | category=getTableList | ||
category=JDatabaseMySQL | category=JDatabaseMySQL | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 00:27, 25 March 2017
Description
Description
[<! removed edit link to red link >]
<! 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
function getTableList()
{
$this->setQuery( 'SHOW TABLES' );
return $this->loadResultArray();
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples