| @@ 1379-1384 (lines=6) @@ | ||
| 1376 | $storage[$classPath[1]] = []; |
|
| 1377 | } |
|
| 1378 | if ($id) { |
|
| 1379 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1380 | if ($item[$col] == $id) { |
|
| 1381 | $storage[$classPath[1]][$key] = $this->_params; |
|
| 1382 | break; |
|
| 1383 | } |
|
| 1384 | } |
|
| 1385 | } else { |
|
| 1386 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
| 1387 | $this->$col = $id; |
|
| @@ 1581-1587 (lines=7) @@ | ||
| 1578 | if (empty($storage[$classPath[1]])) { |
|
| 1579 | $storage[$classPath[1]] = []; |
|
| 1580 | } |
|
| 1581 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1582 | ||
| 1583 | if ($item[$col] == $id) { |
|
| 1584 | unset($storage[$classPath[1]][$key]); |
|
| 1585 | break; |
|
| 1586 | } |
|
| 1587 | } |
|
| 1588 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
| 1589 | $moduleConfig['storage'][$appType] = $storage; |
|
| 1590 | } else { |
|