JTable::getInstance/1.5

From Joomla! Documentation
< JTable::getInstance
Revision as of 17:13, 18 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Joomla 1.5 JTable::getInstance

Description

Returns a reference to the a Table object, always creating it.

[Edit Descripton] Description:JTable/getInstance

Since

Joomla 1.5

Synopsis

public & JTable->getInstance ($type, $prefix= 'JTable', $config=array())
Parameter Type Default Description
$type type The table type to instantiate
$prefix string A prefix for the table class name. Optional.
$config array array() $options Configuration array for model. Optional.

Returns

database A database object

Defined in

libraries/joomla/database/table.php

Referenced by

See also

[Edit See Also] SeeAlso:JTable/getInstance

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox