API17

API17:JTable::getInstance

From Joomla! Documentation

Joomla 11.1 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.

See also


User contributed notes

Code Examples