Difference between revisions of "JDatabaseMySQLi::getTableFields"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JDatabaseMySQLi::getTableFields ($tables, $typeonly=true) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 33: | Line 33: | ||
array An array of fields by table | array An array of fields by table | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/database/database/mysqli.php | + | libraries/joomla/database/database/mysqli.php (line 713) |
+ | * see source code in [[jplatform:database/database/mysqli.php#cl-713|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 20:16, 23 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.
JDatabaseMySQLi::getTableFields[edit]
Description[edit]
Retrieves information about the given tables.
Template:Description:JDatabaseMySQLi::getTableFields [Edit Descripton]
Synopsis[edit]
public JDatabaseMySQLi::getTableFields ($tables, $typeonly=true)
Parameter | Type | Default | Description |
---|---|---|---|
$tables | string | A table name or a list of table names | |
$typeonly | boolean | true | Only return field types, default true |
Returns[edit]
array An array of fields by table
Defined in[edit]
libraries/joomla/database/database/mysqli.php (line 713)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDatabaseMySQLi::getTableFields
Examples[edit]
<CodeExamplesForm />