JTable::getInstance/1.5
From Joomla! Documentation
JTable::getInstance
Description
Returns a reference to the a Table object, always creating it.
Description:JTable::getInstance [Edit Descripton]
public & function getInstance ( $type $prefix= 'JTable' $config=array )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | type | The table type to instantiate | |
| $prefix | string | A prefix for the table class name. Optional. | |
| $config | array | array() | $options Configuration array for model. Optional. |
- Returns database A database object
- Defined on line 82 of libraries/joomla/database/table.php
- Since
- Referenced by
- JInstallerComponent::_buildAdminMenus
- JApplication::_createSession
- JModel::_createTable
- JSessionStorageDatabase::destroy
- JSessionStorageDatabase::gc
- JApplication::getItemid
- JUser::getTable
- JInstallerPlugin::install
- JInstallerModule::install
- isCheckedOut
- JSessionStorageDatabase::read
- JInstallerPlugin::uninstall
- JInstallerModule::uninstall
- JInstallerComponent::uninstall
- JSessionStorageDatabase::write
See also
-
JTable::getInstance on api.joomla.org
-
JTable source code on JoomlaCode
-
Class JTable
-
Subpackage Database
- Other versions of JTable::getInstance
SeeAlso:JTable::getInstance [Edit See Also]
User contributed notes
<CodeExamplesForm />