Actions

API17

JTable::getInstance

From Joomla! Documentation

Revision as of 21:45, 27 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

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.

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

SeeAlso:JTable::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />