PHP Class PMA\libraries\ListDatabase

$ListDatabase = new ListDatabase($userlink);
Inheritance: extends PMA\libraries\ListAbstract
Afficher le fichier Open project: phpmyadmin/phpmyadmin Class Usage Examples

Protected Properties

Свойство Type Description
$db_link database link resource|object to be used
$db_link_user user database link resource|object

Méthodes publiques

Méthode Description
__construct ( mixed $db_link_user = null ) Constructor
build ( ) : void builds up the list
getDefault ( ) : string returns default item

Méthodes protégées

Méthode Description
checkHideDatabase ( ) : void checks if the configuration wants to hide some databases
checkOnlyDatabase ( ) : boolean checks the only_db configuration
retrieve ( string $like_db_name = null ) : array retrieves database list from server

Method Details

__construct() public méthode

Constructor
public __construct ( mixed $db_link_user = null )
$db_link_user mixed user database link resource|object

build() public méthode

builds up the list
public build ( ) : void
Résultat void

checkHideDatabase() protected méthode

checks if the configuration wants to hide some databases
protected checkHideDatabase ( ) : void
Résultat void

checkOnlyDatabase() protected méthode

checks the only_db configuration
protected checkOnlyDatabase ( ) : boolean
Résultat boolean false if there is no only_db, otherwise true

getDefault() public méthode

returns default item
public getDefault ( ) : string
Résultat string default item

retrieve() protected méthode

retrieves database list from server
protected retrieve ( string $like_db_name = null ) : array
$like_db_name string usually a db_name containing wildcards
Résultat array

Property Details