API17

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.  
  
{{Description:JTable::getFields}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JTable::getFields|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|JTable]]
+
* {{JVer|11.1}} Class [[API17:JTable|JTable]]
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JTable::getFields|Other versions of JTable::getFields]]
+
* [[API17:JTable::getFields|Other versions of JTable::getFields]]
{{SeeAlso:JTable::getFields}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JTable::getFields|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JTable::getFields
 
category=JTable::getFields
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 33: Line 29:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JTable]][[Category:JTable::getFields]]</noinclude>
+
<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.

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


User contributed notes[edit]

Code Examples[edit]