API15

API15:JDatabase/getTableFields

From Joomla! Documentation

Revision as of 22:14, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Retrieves information about the given tables <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JDatabase/getTableFields|Edit Descript...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Retrieves information about the given tables

[Edit Descripton]

Template:Description:JDatabase/getTableFields

Syntax

getTableFields($tables, $typeonly=true)
Parameter Name Default Value Description
$tables A table name or a list of table names
$typeonly true Only return field types, default true

Returns

array An array of fields by table

Defined in

libraries/joomla/database/database.php

Importing

jimport( 'joomla.database.database' );

Source Body

function getTableFields( $tables, $typeonly = true )
{
        return;
}

[Edit See Also] Template:SeeAlso:JDatabase/getTableFields

Examples

<CodeExamplesForm />