Methods summary
public
string[]
|
#
__sleep( )
Serialize only given properties:
Serialize only given properties:
Returns
string[]
|
public
mixed
|
#
__get( string $key )
Get not defined property from $this->currentData array store,
if there is nothing, return NULL .
Get not defined property from $this->currentData array store,
if there is nothing, return NULL .
Parameters
Returns
mixed
|
public
mixed
|
#
__set( string $key, $value )
Store not defined property inside $this->currentData array store.
Store not defined property inside $this->currentData array store.
Parameters
Returns
mixed
|
public
boolean
|
#
__isset( string $key )
Magic function triggered by: isset($cfg->key); .
Magic function triggered by: isset($cfg->key); .
Parameters
Returns
boolean
|
public
|
#
__unset( string $key )
Magic function triggered by: unset($cfg->key); .
Magic function triggered by: unset($cfg->key); .
Parameters
|
public
mixed
|
#
current( )
Return the current element.
Return the current element.
Returns
mixed
|
public
string|integer
|
#
key( )
Return the key of the current element.
Return the key of the current element.
Returns
string|integer
|
public
|
#
next( )
Move forward to next element.
Move forward to next element.
|
public
|
#
rewind( )
Rewind the Iterator to the first element.
Rewind the Iterator to the first element.
|
public
boolean
|
#
valid( )
Checks if current position is valid.
Checks if current position is valid.
Returns
boolean
|
public
boolean
|
#
offsetExists( mixed $offset )
Return whether the requested index exists in the internal store.
Example: isset($cfg['any']);
Return whether the requested index exists in the internal store.
Example: isset($cfg['any']);
Parameters
Returns
boolean
|
public
|
#
offsetGet( mixed $offset, mixed $value,… )
Get the value at the specified index from the internal store.
Example: $thing = $cfg['any'];
Get the value at the specified index from the internal store.
Example: $thing = $cfg['any'];
Parameters
|
public
|
#
offsetSet( mixed $offset, mixed $value )
Set the value at the specified index in the internal store.
Example: $cfg['any'] = 'thing';
Set the value at the specified index in the internal store.
Example: $cfg['any'] = 'thing';
Parameters
|
public
|
#
offsetUnset( mixed $offset )
Unset the value at the specified index in the internal store.
Example: unset($cfg['any']);
Unset the value at the specified index in the internal store.
Example: unset($cfg['any']);
Parameters
|
public
integer
|
#
count( )
Get how many records is in the config internal store.
Example: count($cfg);
Get how many records is in the config internal store.
Example: count($cfg);
Returns
integer
|