Actions

API17

JTable::getInstance

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

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

  • Joomla 11.1 JTable::getInstance source code on BitBucket
  • Joomla 11.1 Class JTable
  • Joomla 11.1 Subpackage Database
  • Other versions of JTable::getInstance


User contributed notes

Code Examples


Advertisement