/** * @param string $table * @param string $key * @param JDatabase $db */ function __construct($table, $key, &$db) { $this->_tbl = $table; $this->_tbl_key = $key; $this->_db =& $db; $this->_pkey = $key; self::$_cache = null; self::$_query_cache = null; }