Difference between revisions of "JTable::getFields"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Get the columns from database table. | Get the columns from database table. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function getFields () | public function getFields () | ||
Line 15: | Line 13: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JTable::getFields source code''' on [[jplatform:database/table.php#cl-110|BitBucket]] | * {{JVer|11.1}} '''JTable::getFields source code''' on [[jplatform:database/table.php#cl-110|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JTable | + | * {{JVer|11.1}} Class [[API17:JTable|JTable]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JTable::getFields|Other versions of JTable::getFields]] | + | * [[API17:JTable::getFields|Other versions of JTable::getFields]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTable::getFields | category=JTable::getFields | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 33: | Line 29: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:47, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JTable::getFields[edit]
Description[edit]
Get the columns from database table.
public function getFields ()
- Returns mixed An array of the field names, or false if an error occurs.
- Defined on line 118 of libraries/joomla/database/table.php
See also[edit]
- JTable::getFields source code on BitBucket
- Class JTable
- Subpackage Database
- Other versions of JTable::getFields
User contributed notes[edit]
Code Examples[edit]