API17

API17:JTable::getInstance

From Joomla! Documentation

Revision as of 00:22, 21 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

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

Since

Joomla 11.1

Synopsis

public static JTable::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.

Returns

mixed A object if found or boolean false if one could not be found.

Defined in

libraries/joomla/database/table.php

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JTable::getInstance

Examples

<CodeExamplesForm />