API17

Difference between revisions of "JModel::getTable"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JModel::getTable/11.1 to API17:JModel::getTable without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 19:45, 10 May 2013

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 JModel::getTable[edit]

Description[edit]

Method to get a table object, load it if necessary.

Template:Description:JModel::getTable [Edit Descripton]

public function getTable (
        $name= ''
        $prefix= 'Table'
        $options=array
)
Parameter Type Default Description
$name string The table name. Optional.
$prefix string 'Table' The class prefix. Optional.
$options array array() Configuration array for model. Optional.
  • Returns object The table
  • Defined on line 369 of libraries/joomla/application/component/model.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]

Template:SeeAlso:JModel::getTable [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />