Class Env_Field
Environmental value group interface. Base class for simple global arrays.
The name of derived classes must end in the name of the global variable
it wants to represent, e.g. Env_SERVER
for the global $_SERVER
array.
Internally, the KDC data field is a reference to the corresponding global
variable. On KDC access, the corresponeding value is wrapped into a
Core\Value
instance with callback support for reflecting changes to its
value to the global array.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Set\Mutable implements Core\Mutator
- Core\Field implements Core\Inquiry
- Core\Env_Field
Direct known subclasses
Methods summary
public
|
|
protected
|
#
_retrieveValueForKey( string $key )
Retrieves a value from the associated global array, wraps it in a
|
public
|
#
getDataForUndefinedKey( string $key )
Default data retrieval implementation for environment fields: The user
can choose between KVC and KDC access, both allowing access to the
same data fields; per standard values are wrapped by |
public
|
#
getValueForUndefinedKey( string $key )
Default data retrieval implementation for environment fields: The user
can choose between KVC and KDC access, both allowing access to the
same data fields; per standard values are wrapped by |
Methods inherited from Core\Field
getDataForKey()
,
getDataForKeys()
,
issetDataForKey()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
string
|
$_sourceName
Name of associated global variable array. |