API17

JTable::getInstance

From Joomla! Documentation

Revision as of 21:15, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JTable::getInstance/11.1 to API17:JTable::getInstance without leaving a redirect: Robot: Moved page)

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.

Template:Description:JTable::getInstance [Edit Descripton]

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]

Template:SeeAlso:JTable::getInstance [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />