PHP Class server, kirby

Afficher le fichier Open project: bastianallgeier/kirby Class Usage Examples

Méthodes publiques

Méthode Description
get ( mixed $key = false, mixed $default = null ) : mixed Gets a value from the _SERVER array

Method Details

get() static public méthode

Gets a value from the _SERVER array
static public get ( mixed $key = false, mixed $default = null ) : mixed
$key mixed The key to look for. Pass false or null to return the entire server array.
$default mixed Optional default value, which should be returned if no element has been found
Résultat mixed