Esempio n. 1
0
 public static function unflatten($aArray, $aSeparator = '.')
 {
     $arr = array();
     foreach ($aArray as $k => $v) {
         StructUtils::set($arr, $k, $v, $aSeparator);
     }
     return $arr;
 }
Esempio n. 2
0
 public function set($aPath, $aValue)
 {
     StructUtils::set($this->data, $aPath, $aValue);
 }