API17

JDatabaseMySQL::getTableFields: Difference between revisions

From Joomla! Documentation

m →See also: moving preparation
m clean up
Line 4: Line 4:
Retrieves field information about the given tables.  
Retrieves field information about the given tables.  


{{Description:JDatabaseMySQL::getTableFields}}
{{subst:Description:JDatabaseMySQL::getTableFields}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::getTableFields|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function getTableFields (
public function getTableFields (
Line 40: Line 38:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabaseMySQL::getTableFields|Other versions of JDatabaseMySQL::getTableFields]]
* [[API17:JDatabaseMySQL::getTableFields|Other versions of JDatabaseMySQL::getTableFields]]
{{SeeAlso:JDatabaseMySQL::getTableFields}}
{{subst:SeeAlso:JDatabaseMySQL::getTableFields}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getTableFields|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:04, 24 March 2017

Joomla 11.1 JDatabaseMySQL::getTableFields

Description

Retrieves field information about the given tables.

{{subst:Description:JDatabaseMySQL::getTableFields}}

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 Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseMySQL::getTableFields}}

User contributed notes

<CodeExamplesForm />