JDatabase::getTableCreate: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JDatabase::getTableCreate ($tables) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 28: | Line 28: | ||
array A list the create SQL for the tables | array A list the create SQL for the tables | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/database/database.php | libraries/joomla/database/database.php (line 795) | ||
* see source code in [[jplatform:database/database.php#cl-795|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 01:11, 24 April 2011
JDatabase::getTableCreate
Description
Shows the CREATE TABLE statement that creates the given tables.
Template:Description:JDatabase::getTableCreate [Edit Descripton]
Synopsis
public JDatabase::getTableCreate ($tables)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $tables | string | A table name or a list of table names |
Returns
array A list the create SQL for the tables
Defined in
libraries/joomla/database/database.php (line 795)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JDatabase::getTableCreate
Examples
<CodeExamplesForm />