API17:JModel::getTable
From Joomla! Documentation
JModel::getTable
Description
Method to get a table object, load it if necessary.
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

- Referenced by
See also
JModel::getTable source code on BitBucket
Class JModel
Subpackage Application- Other versions of JModel::getTable
User contributed notes
Code Examples