API17:JTable::getInstance
From Joomla! Documentation
JTable::getInstance
Description
Static method to get an instance of a class if it can be found in the table include paths.
Template:Description:JTable::getInstance [Edit Descripton]
Since
Synopsis
public static JTable::getInstance ($type, $prefix= 'JTable', $config=array())
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | string | The type (name) of the class to get an instance of. | |
| $prefix | string | An optional prefix for the table class name. | |
| $config | array | array() | An optional array of configuration values for the object. |
Returns
mixed A object if found or boolean false if one could not be found.
Defined in
libraries/joomla/database/table.php
Referenced by
- JInstallerComponent::_buildAdminMenus
- JInstallerLanguage::_install
- JInstallerComponent::_removeAdminMenus
- JUpdaterCollection::_startElement
- JTableNested::delete
- JTableMenuType::delete
- delete
- JInstallerTemplate::discover
- JInstallerPlugin::discover
- JInstallerLibrary::discover
- JInstallerComponent::discover
- JInstallerModule::discover
- JInstallerLanguage::discover
- JInstallerComponent::discover_install
- JUpdater::findUpdates
- JFormFieldUser::getInput
- JUser::getTable
- JInstallerTemplate::install
- JInstallerPlugin::install
- JInstallerPackage::install
- JInstallerLibrary::install
- JInstallerComponent::install
- JInstallerModule::install
- JInstallerFile::install
- JInstaller::refreshManifestCache
- JTableMenuType::store
- JTableContent::store
- JTableCategory::store
- store
- JTableMenu::store
- JInstallerTemplate::uninstall
- JInstallerPlugin::uninstall
- JInstallerPackage::uninstall
- JInstallerLibrary::uninstall
- JInstallerComponent::uninstall
- JInstallerModule::uninstall
- JInstallerLanguage::uninstall
- JInstallerFile::uninstall
- JInstallerComponent::update
- JInstallerLanguage::update
See also
Template:SeeAlso:JTable::getInstance
Examples
<CodeExamplesForm />