JDatabase::getTableCreate: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabase::getTableCreate== | =={{JVer|11.1}} JDatabase::getTableCreate== | ||
===Description=== | ===Description=== | ||
Shows the CREATE | Shows the table CREATE statement that creates the given tables. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function getTableCreate ($tables) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 20: | Line 17: | ||
|- | |- | ||
|$tables | |$tables | ||
| | | | ||
| | | | ||
| | |||
|- | |- | ||
|} | |} | ||
* '''Returns''' array A list of the create SQL for the tables. | |||
array A list the create SQL for the tables | * '''Defined''' on line 1188 of libraries/joomla/database/database.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/database/database.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabase::getTableCreate source code''' on [[jplatform:database/database.php#cl-1180|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |||
* | * [[API17:JDatabase::getTableCreate|Other versions of JDatabase::getTableCreate]] | ||
* [[JDatabase::getTableCreate|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabase::getTableCreate | category=JDatabase::getTableCreate | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:33, 25 March 2017
JDatabase::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 1188 of libraries/joomla/database/database.php
- Since

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