PHP Class PHPDaemon\Clients\MySQL\Pool

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Network\Client
Show file Open project: kakserpom/phpdaemon Class Usage Examples

Public Methods

Method Description
escape ( string $string ) : string Escapes the special symbols with trailing backslash
likeEscape ( string $string ) : string Escapes the special symbols with a trailing backslash
value ( mixed $mixed ) : string [value description]
values ( array $arr ) : string [values description]

Protected Methods

Method Description
getConfigDefaults ( ) : array | boolean Setting default config options Overriden from NetworkClient::getConfigDefaults

Method Details

escape() public static method

Escapes the special symbols with trailing backslash
public static escape ( string $string ) : string
$string string
return string

getConfigDefaults() protected method

Setting default config options Overriden from NetworkClient::getConfigDefaults
protected getConfigDefaults ( ) : array | boolean
return array | boolean

likeEscape() public static method

Escapes the special symbols with a trailing backslash
public static likeEscape ( string $string ) : string
$string string
return string

value() public static method

[value description]
public static value ( mixed $mixed ) : string
$mixed mixed
return string

values() public static method

[values description]
public static values ( array $arr ) : string
$arr array
return string