JModel::getTable
From Joomla! Documentation
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.
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[edit]
JModel::getTable source code on BitBucket
Class JModel
Subpackage Application
- Other versions of JModel::getTable
User contributed notes[edit]
Code Examples[edit]