Actions

API17

Difference between revisions of "JDatabase::getTableFields"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JDatabase->getTableFields ($tables, $typeonly=true)
+
public JDatabase::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.php
+
libraries/joomla/database/database.php (line 804)
 +
* see source code in [[jplatform:database/database.php#cl-804|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:11, 23 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JDatabase::getTableFields

Description

Retrieves information about the given tables.

Description:JDatabase::getTableFields [Edit Descripton]

Synopsis

public JDatabase::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

array An array of fields by table

Defined in

libraries/joomla/database/database.php (line 804)

Referenced by

See also

[Edit See Also]

SeeAlso:JDatabase::getTableFields

Examples

<CodeExamplesForm />