Tables
in component
Gives access to table objects by their model path or class name. Objects are cached.
Table of Contents
Properties
Methods
- getTable() : object
- Returns a cached table object. It first tries an area-specific model via kamodel(), otherwise creates the class by name.
Properties
$tables
protected
static mixed
$tables
= array()
Methods
getTable()
Returns a cached table object. It first tries an area-specific model via kamodel(), otherwise creates the class by name.
public
static getTable(mixed $tbl) : object
$tbl — table model path or class name with '/' separators.
Parameters
- $tbl : mixed
Tags
Return values
object —Table object.