PHP Class SRedis

Afficher le fichier Open project: hetao29/slightphp Class Usage Examples

Méthodes publiques

Méthode Description
__call ( $name, $args )
__callStatic ( $name, $args )
__construct ( )
getConfig ( string $zone = null, $type = "host" ) : array
setConfigFile ( $file )
useConfig ( string $zone, $type = "host" ) : array 切换配置文件

Method Details

__call() public méthode

public __call ( $name, $args )

__callStatic() public static méthode

public static __callStatic ( $name, $args )

__construct() public méthode

public __construct ( )

getConfig() static public méthode

static public getConfig ( string $zone = null, $type = "host" ) : array
$zone string
Résultat array

setConfigFile() static public méthode

static public setConfigFile ( $file )

useConfig() static public méthode

切换配置文件
static public useConfig ( string $zone, $type = "host" ) : array
$zone string
Résultat array