class Navigation (View source)

The navigation panel - displays server, db and table selection tree

Methods

__construct(Template $template, Relation $relation, DatabaseInterface $dbi, Config $config)

No description

string
getDisplay()

Renders the navigation tree, or part of it

void
hideNavigationItem(string $itemName, string $itemType, string $dbName)

Add an item of navigation tree to the hidden items list in PMA database.

void
unhideNavigationItem(string $itemName, string $itemType, string $dbName)

Remove a hidden item of navigation tree from the list of hidden items in PMA database.

string
getItemUnhideDialog(string $database)

Returns HTML for the dialog to show hidden navigation items.

Details

__construct(Template $template, Relation $relation, DatabaseInterface $dbi, Config $config)

No description

Parameters

Template $template
Relation $relation
DatabaseInterface $dbi
Config $config

string getDisplay()

Renders the navigation tree, or part of it

Return Value

string

The navigation tree

void hideNavigationItem(string $itemName, string $itemType, string $dbName)

Add an item of navigation tree to the hidden items list in PMA database.

Parameters

string $itemName

name of the navigation tree item

string $itemType

type of the navigation tree item

string $dbName

database name

Return Value

void

void unhideNavigationItem(string $itemName, string $itemType, string $dbName)

Remove a hidden item of navigation tree from the list of hidden items in PMA database.

Parameters

string $itemName

name of the navigation tree item

string $itemType

type of the navigation tree item

string $dbName

database name

Return Value

void

string getItemUnhideDialog(string $database)

Returns HTML for the dialog to show hidden navigation items.

Parameters

string $database

database name

Return Value

string

HTML for the dialog to show hidden navigation items