- updated release notes panel
- improved /admin login page - UI fixes
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
namespace data\mapper;
|
||||
|
||||
use Lib\Util;
|
||||
|
||||
class AbstractIterator extends \RecursiveArrayIterator {
|
||||
|
||||
@@ -40,6 +41,15 @@ class AbstractIterator extends \RecursiveArrayIterator {
|
||||
return iterator_to_array($this, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* convert array keys to camelCase
|
||||
* @param $array
|
||||
* @return array
|
||||
*/
|
||||
protected function camelCaseKeys($array){
|
||||
return Util::arrayChangeKeys($array, [\Base::instance(), 'camelcase']);
|
||||
}
|
||||
|
||||
/**
|
||||
* recursive iterator function called on every node
|
||||
* @param $iterator
|
||||
|
||||
Reference in New Issue
Block a user