API15

JDatabase/getTableFields: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
Line 48: Line 48:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getTableFields
  category=getTableFields
  category=JDatabase
  category=JDatabase
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 00:26, 25 March 2017

Description

Retrieves information about the given tables

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

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;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples