final class Options (View source)

Methods

__construct(Relation $relation, TemplateModel $templateModel)

No description

array
getDatabasesForSelectOptions(string $tmpSelect = '')

Prints Html For Export Selection Options

array
getOptions(string $exportType, string $db, string $table, string $sqlQuery, int|string $numTables, int|string $unlimNumRows, array $exportList)

No description

Details

__construct(Relation $relation, TemplateModel $templateModel)

No description

Parameters

Relation $relation
TemplateModel $templateModel

array getDatabasesForSelectOptions(string $tmpSelect = '')

Prints Html For Export Selection Options

Parameters

string $tmpSelect

Tmp selected method of export

Return Value

array

array getOptions(string $exportType, string $db, string $table, string $sqlQuery, int|string $numTables, int|string $unlimNumRows, array $exportList)

No description

Parameters

string $exportType

export type: server|database|table

string $db

selected DB

string $table

selected table

string $sqlQuery

SQL query

int|string $numTables

number of tables

int|string $unlimNumRows

unlimited number of rows

array $exportList

Return Value

array