Difference between revisions of "JDatabaseMySQL::getTableFields"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Retrieves field information about the given tables. | Retrieves field information about the given tables. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function getTableFields ( | public function getTableFields ( | ||
Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQL::getTableFields source code''' on [[jplatform:database/database/mysql.php#cl-326|BitBucket]] | * {{JVer|11.1}} '''JDatabaseMySQL::getTableFields source code''' on [[jplatform:database/database/mysql.php#cl-326|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDatabaseMySQL | + | * {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JDatabaseMySQL::getTableFields|Other versions of JDatabaseMySQL::getTableFields]] | + | * [[API17:JDatabaseMySQL::getTableFields|Other versions of JDatabaseMySQL::getTableFields]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::getTableFields | category=JDatabaseMySQL::getTableFields | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:38, 24 March 2017
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.
JDatabaseMySQL::getTableFields[edit]
Description[edit]
Retrieves field information about the given tables.
public function getTableFields (
$tables
$typeOnly=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$tables | |||
$typeOnly | bool | true | True to only return field types. |
- Returns array An array of fields by table.
- Defined on line 334 of libraries/joomla/database/database/mysql.php
- Since
See also[edit]
- JDatabaseMySQL::getTableFields source code on BitBucket
- Class JDatabaseMySQL
- Subpackage Database
- Other versions of JDatabaseMySQL::getTableFields
User contributed notes[edit]
Code Examples[edit]