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.
public static function 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 on line 150 of libraries/joomla/database/table.php
- Since
- 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
JTable::getInstance source code on BitBucket
Class JTable
Subpackage Database
- Other versions of JTable::getInstance
User contributed notes
Code Examples