PHP Class PHPUnit_Extensions_Database_UI_ModeFactory, qcodo

Author: Mike Lively ([email protected])
Inheritance: implements PHPUnit_Extensions_Database_UI_IModeFactory
Afficher le fichier Open project: qcodo/qcodo

Méthodes publiques

Méthode Description
getMode ( string $mode ) : PHPUnit_Extensions_Database_UI_IMode Generates a new mode based on a given name.
getModeList ( ) : array Returns the names of valid modes this factory can create.

Méthodes protégées

Méthode Description
getModeClass ( string $mode, string $mode_name ) : string Given a $mode label and a $mode_name class part attempts to return the class name necessary to instantiate the mode.
getModeMap ( ) : array Returns a map of modes to class name parts

Method Details

getMode() public méthode

Generates a new mode based on a given name.
public getMode ( string $mode ) : PHPUnit_Extensions_Database_UI_IMode
$mode string
Résultat PHPUnit_Extensions_Database_UI_IMode

getModeClass() protected méthode

Given a $mode label and a $mode_name class part attempts to return the class name necessary to instantiate the mode.
protected getModeClass ( string $mode, string $mode_name ) : string
$mode string
$mode_name string
Résultat string

getModeList() public méthode

Returns the names of valid modes this factory can create.
public getModeList ( ) : array
Résultat array

getModeMap() protected méthode

Returns a map of modes to class name parts
protected getModeMap ( ) : array
Résultat array