PHP Class PMA\libraries\navigation\Navigation

Afficher le fichier Open project: phpmyadmin/phpmyadmin Class Usage Examples

Méthodes publiques

Méthode Description
getDisplay ( ) : string Renders the navigation tree, or part of it
getItemUnhideDialog ( string $dbName, string $itemType = null, string $tableName = null ) : string Returns HTML for the dialog to show hidden navigation items.
hideNavigationItem ( string $itemName, string $itemType, string $dbName, string $tableName = null ) : void Add an item of navigation tree to the hidden items list in PMA database.
unhideNavigationItem ( string $itemName, string $itemType, string $dbName, string $tableName = null ) : void Remove a hidden item of navigation tree from the list of hidden items in PMA database.

Private Methods

Méthode Description
_getDropHandler ( ) : string Inserts Drag and Drop Import handler

Method Details

getDisplay() public méthode

Renders the navigation tree, or part of it
public getDisplay ( ) : string
Résultat string The navigation tree

getItemUnhideDialog() public méthode

Returns HTML for the dialog to show hidden navigation items.
public getItemUnhideDialog ( string $dbName, string $itemType = null, string $tableName = null ) : string
$dbName string database name
$itemType string type of the items to include
$tableName string table name
Résultat string HTML for the dialog to show hidden navigation items

hideNavigationItem() public méthode

Add an item of navigation tree to the hidden items list in PMA database.
public hideNavigationItem ( string $itemName, string $itemType, string $dbName, string $tableName = null ) : void
$itemName string name of the navigation tree item
$itemType string type of the navigation tree item
$dbName string database name
$tableName string table name if applicable
Résultat void

unhideNavigationItem() public méthode

Remove a hidden item of navigation tree from the list of hidden items in PMA database.
public unhideNavigationItem ( string $itemName, string $itemType, string $dbName, string $tableName = null ) : void
$itemName string name of the navigation tree item
$itemType string type of the navigation tree item
$dbName string database name
$tableName string table name if applicable
Résultat void