API17

Difference between revisions of "JDatabaseMySQLi::getTableCreate"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 2: Line 2:
 
=={{JVer|11.1}} JDatabaseMySQLi::getTableCreate==
 
=={{JVer|11.1}} JDatabaseMySQLi::getTableCreate==
 
===Description===
 
===Description===
Shows the CREATE TABLE statement that creates the given tables.  
+
Shows the table CREATE statement that creates the given tables.  
  
 
{{Description:JDatabaseMySQLi::getTableCreate}}
 
{{Description:JDatabaseMySQLi::getTableCreate}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::getTableCreate|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::getTableCreate|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseMySQLi::getTableCreate ($tables)
+
public function getTableCreate ($tables)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 20: Line 19:
 
|-
 
|-
 
|$tables
 
|$tables
|array|string
 
 
|
 
|
|A table name or a list of table names
+
|
 +
|
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array A list of the create SQL for the tables.
array A list the create SQL for the tables
+
* '''Defined''' on line 325 of libraries/joomla/database/database/mysqli.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysqli.php (line 690)
 
* see source code in [[jplatform:database/database/mysqli.php#cl-690|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDatabaseMySQLi::getTableCreate source code''' on [[jplatform:database/database/mysqli.php#cl-317|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JDatabaseMySQLi::getTableCreate|Other versions of JDatabaseMySQLi::getTableCreate]]
 +
{{SeeAlso:JDatabaseMySQLi::getTableCreate}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::getTableCreate|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::getTableCreate|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
+
===User contributed notes===
* [[JDatabaseMySQLi::getTableCreate|Other versions of this method]]
 
{{SeeAlso:JDatabaseMySQLi::getTableCreate}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 46: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::getTableCreate]]</noinclude>
 
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::getTableCreate]]</noinclude>

Revision as of 20:33, 27 April 2011

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabaseMySQLi::getTableCreate[edit]

Description[edit]

Shows the table CREATE statement that creates the given tables.

Template:Description:JDatabaseMySQLi::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 325 of libraries/joomla/database/database/mysqli.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JDatabaseMySQLi::getTableCreate [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />