final class Options (View source)

Methods

__construct(Relation $relation, TemplateModel $templateModel)

No description

array
getDatabasesForSelectOptions()

Prints Html For Export Selection Options

array
getOptions(ExportType $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()

Prints Html For Export Selection Options

Return Value

array

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

No description

Parameters

ExportType $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