class Config

Methods

static bool
mustLoad()

Check if the configurator is not yet loaded

static void
load(string $class_name = null, bool $safe = false)

Load a config object

static void
overload(array $settings)

Overload a config registry

static void
set(string $name, mixed $value)

No description

static mixed
get(string $name, mixed $default = null)

No description

static mixed
getDefault(string $name)

No description

static string
getInternal(string $name)

No description

static array
getRegistry()

No description

Details

at line 78
static bool mustLoad()

Check if the configurator is not yet loaded

Return Value

bool

at line 90
static void load(string $class_name = null, bool $safe = false)

Load a config object

Parameters

string $class_name
bool $safe

Return Value

void

at line 161
static void overload(array $settings)

Overload a config registry

Parameters

array $settings

Return Value

void

at line 174
static void set(string $name, mixed $value)

Parameters

string $name
mixed $value

Return Value

void

at line 187
static mixed get(string $name, mixed $default = null)

Parameters

string $name
mixed $default

Return Value

mixed

at line 200
static mixed getDefault(string $name)

Parameters

string $name

Return Value

mixed

at line 214
static string getInternal(string $name)

Parameters

string $name

Return Value

string

at line 225
static array getRegistry()

Return Value

array