Class Globals
A class to reteive certain Global variables
Basically, it gives you access to the subset of variables.
This class was written so that CodeClimate would stop throwing a fit because I was accessing the $_SERVER variable directly.
Methods summary
public
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
Magic methods summary
Properties summary
private static
array
|
$variables
An array of Global variables that can be accessed |
#
[
'alfred_theme_background',
'alfred_theme_subtext',
'alfred_version',
'alfred_version_build',
'alfred_workflow_bundleid',
'alfred_workflow_cache',
'alfred_workflow_data',
'alfred_workflow_name',
'alfred_workflow_uid',
'ALPHRED_IN_BACKGROUND', // This is internal for background awareness
'PWD',
'USER'
]
|