class BrowseForeigners

PhpMyAdmin\BrowseForeigners class

Properties

Template $template

Methods

__construct(int $limitChars, int $maxRows, int $repeatCells, bool $showAll, string $themeImage, Template $template)

Constructor

string
getHtmlForRelationalFieldSelection(string $db, string $table, string $field, array $foreignData, string|null $fieldkey, string $current_value)

Function to get html for relational field selection

string|null
getForeignLimit(string|null $foreignShowAll)

Function to get foreign limit

Details

at line 39
__construct(int $limitChars, int $maxRows, int $repeatCells, bool $showAll, string $themeImage, Template $template)

Constructor

Parameters

int $limitChars Maximum number of characters to show
int $maxRows Number of rows to display
int $repeatCells Repeat the headers every X cells, or 0 to deactivate
bool $showAll Shows the 'Show all' button or not
string $themeImage Theme image path
Template $template Template object

at line 169
string getHtmlForRelationalFieldSelection(string $db, string $table, string $field, array $foreignData, string|null $fieldkey, string $current_value)

Function to get html for relational field selection

Parameters

string $db current database
string $table current table
string $field field
array $foreignData foreign column data
string|null $fieldkey field key
string $current_value current columns's value

Return Value

string

at line 352
string|null getForeignLimit(string|null $foreignShowAll)

Function to get foreign limit

Parameters

string|null $foreignShowAll foreign navigation

Return Value

string|null