JModel::getTable
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
JModel::getTable[edit]
Description[edit]
Method to get a table object, load it if necessary.
Template:Description:JModel::getTable [Edit Descripton]
Since[edit]
Synopsis[edit]
public JModel->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[edit]
object The table
Defined in[edit]
libraries/joomla/application/component/model.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JModel::getTable
Examples[edit]
<CodeExamplesForm />