API17

API17:JModel::getTable

From Joomla! Documentation

Joomla 11.1 JModel::getTable

Description

Method to get a table object, load it if necessary.


public function getTable (
        $name= ''
        $prefix= 'Table'
        $options=array
)
Parameter Type Default Description
$name string The table name. Optional.
$prefix string 'Table' The class prefix. Optional.
$options array array() Configuration array for model. Optional.
  • Returns object The table
  • Defined on line 369 of libraries/joomla/application/component/model.php
  • Since Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples