API17:JModel::getTable
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JModel::getTable
Description
Method to get a table object, load it if necessary.
Description:JModel::getTable [Edit Descripton]
Since
Synopsis
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
object The table
Defined in
libraries/joomla/application/component/model.php (line 369)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
