class MultiTableQuery (View source)

Class to handle database Multi-table querying

Methods

__construct(DatabaseInterface $dbi, Template $template, string $db, int $defaultNoOfColumns = 3)

No description

string
getFormHtml()

Get Multi-Table query page HTML

static string
displayResults(string $sqlQuery, string $db)

Displays multi-table query results

Details

__construct(DatabaseInterface $dbi, Template $template, string $db, int $defaultNoOfColumns = 3)

No description

Parameters

DatabaseInterface $dbi
Template $template
string $db
int $defaultNoOfColumns

string getFormHtml()

Get Multi-Table query page HTML

Return Value

string

Multi-Table query page HTML

static string displayResults(string $sqlQuery, string $db)

Displays multi-table query results

Parameters

string $sqlQuery

The query to parse

string $db

The current database

Return Value

string