commit e67ef7673cc703d6c99e483fbdbe1b9617d0f38b
parent 9c9bfe5992a813b485a376db4ef8ddcc88a228d6
Author: markseu <mark2011@mayberg.se>
Date: Fri, 10 Jun 2016 20:54:51 +0200
System update (API)
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/system/plugins/core.php b/system/plugins/core.php
@@ -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);