System update (API)
This commit is contained in:
parent
9c9bfe5992
commit
e67ef7673c
1 changed files with 5 additions and 0 deletions
|
@ -974,23 +974,28 @@ class YellowDataCollection extends ArrayObject
|
|||
parent::__construct(array());
|
||||
}
|
||||
|
||||
// Return array element
|
||||
function offsetGet($key)
|
||||
{
|
||||
if(is_string($key)) $key = lcfirst($key);
|
||||
return parent::offsetGet($key);
|
||||
}
|
||||
|
||||
// Set array element
|
||||
function offsetSet($key, $value)
|
||||
{
|
||||
if(is_string($key)) $key = lcfirst($key);
|
||||
parent::offsetSet($key, $value);
|
||||
}
|
||||
|
||||
// Remove array element
|
||||
function offsetUnset($key)
|
||||
{
|
||||
if(is_string($key)) $key = lcfirst($key);
|
||||
parent::offsetUnset($key);
|
||||
}
|
||||
|
||||
// Check if array element exists
|
||||
function offsetExists($key)
|
||||
{
|
||||
if(is_string($key)) $key = lcfirst($key);
|
||||
|
|
Loading…
Add table
Reference in a new issue