class InsertEdit (View source)

Constants

private FUNC_OPTIONAL_PARAM

private FUNC_NO_PARAM

Properties

static string[] $pluginScripts

Methods

__construct(bool $isInteger, string $minValue, string $maxValue)

No description

array
getFormParametersForInsertForm(string $db, string $table, array $whereClauseArray, string $errorUrl)

Retrieve form parameters for insert/edit form

string
showTypeOrFunction(string $which, array $urlParams, bool $isShow)

Show type information or function selectors in Insert/Edit

bool
isColumn(string $columnType, array $types)

check whether the column is of a certain type the goal is to ensure that types such as "enum('one','two','binary',..)" or "enum('one','two','varbinary',..)" are not categorized as binary

Details

__construct(bool $isInteger, string $minValue, string $maxValue)

No description

Parameters

bool $isInteger
string $minValue
string $maxValue

array getFormParametersForInsertForm(string $db, string $table, array $whereClauseArray, string $errorUrl)

Retrieve form parameters for insert/edit form

Parameters

string $db

name of the database

string $table

name of the table

array $whereClauseArray
string $errorUrl

Return Value

array

array of insert/edit form parameters

string showTypeOrFunction(string $which, array $urlParams, bool $isShow)

Show type information or function selectors in Insert/Edit

Parameters

string $which function|type
array $urlParams

containing url parameters

bool $isShow

whether to show the element in $which

Return Value

string

an HTML snippet

bool isColumn(string $columnType, array $types)

check whether the column is of a certain type the goal is to ensure that types such as "enum('one','two','binary',..)" or "enum('one','two','varbinary',..)" are not categorized as binary

Parameters

string $columnType

column type as specified in the column definition

array $types

the types to verify

Return Value

bool