API17:JDatabaseMySQL::getTableCreate
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseMySQL::getTableCreate== | =={{JVer|11.1}} JDatabaseMySQL::getTableCreate== | ||
===Description=== | ===Description=== | ||
| − | Shows the CREATE | + | Shows the table CREATE statement that creates the given tables. |
{{Description:JDatabaseMySQL::getTableCreate}} | {{Description:JDatabaseMySQL::getTableCreate}} | ||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::getTableCreate|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseMySQL::getTableCreate|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function getTableCreate ($tables) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 20: | Line 19: | ||
|- | |- | ||
|$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 303 of libraries/joomla/database/database/mysql.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/database/database/mysql.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDatabaseMySQL::getTableCreate source code''' on [[jplatform:database/database/mysql.php#cl-295|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDatabaseMySQL/11.1|JDatabaseMySQL]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JDatabaseMySQL::getTableCreate|Other versions of JDatabaseMySQL::getTableCreate]] | ||
| + | {{SeeAlso:JDatabaseMySQL::getTableCreate}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getTableCreate|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getTableCreate|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 45: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::getTableCreate]]</noinclude> | <noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::getTableCreate]]</noinclude> | ||
Revision as of 20:31, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDatabaseMySQL::getTableCreate
Description
Shows the table CREATE statement that creates the given tables.
Description:JDatabaseMySQL::getTableCreate [Edit Descripton]
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
SeeAlso:JDatabaseMySQL::getTableCreate [Edit See Also]
User contributed notes
<CodeExamplesForm />
