/** * @param jDbConnection $conn the database connection */ function __construct($conn) { $this->_conn = $conn; if ($this->_conn->hasTablePrefix()) { foreach ($this->_tables as $table_name => $table) { $this->_tables[$table_name]['realname'] = $this->_conn->prefixTable($table['realname']); } } }