JDatabaseMySQL::getTableCreate: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Shows the table CREATE statement that creates the given tables. | Shows the table CREATE statement that creates the given tables. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 30: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseMySQL::getTableCreate|Other versions of JDatabaseMySQL::getTableCreate]] | * [[API17:JDatabaseMySQL::getTableCreate|Other versions of JDatabaseMySQL::getTableCreate]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::getTableCreate | category=JDatabaseMySQL::getTableCreate | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:38, 25 March 2017
JDatabaseMySQL::getTableCreate
Description
Shows the table CREATE statement that creates the given tables.
public function getTableCreate ($tables)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $tables |
- Returns array A list of the create SQL for the tables.
- Defined on line 303 of libraries/joomla/database/database/mysql.php
- Since

See also
JDatabaseMySQL::getTableCreate source code on BitBucket
Class JDatabaseMySQL
Subpackage Database- Other versions of JDatabaseMySQL::getTableCreate
User contributed notes
Code Examples