API17:JDatabase::getTableFields
From Joomla! Documentation
JDatabase::getTableFields
Description
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 1201 of libraries/joomla/database/database.php
- Since

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