API17

JTable::getInstance

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.

Joomla 11.1 JTable::getInstance[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]