- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
function some_function ($aa, $bb) {
$col_names = _cfg::get('ccc');
foreach ($bb as $key => $value) {
$bb[$key][0] = array_search($bb[$key][0], $aa);
$bb[$key][1] = array_search($bb[$key][1], $aa);
foreach ($this->currency_names as $currency_key => $currency_value) {
if ($oil_array[$key][5] == $this->currency_names[$currency_key]['name']) $oil_array[$key][5] = $this->currency_names[$currency_key]['id'];
}
$bb[$key] = array_combine($col_names, $bb[$key]);
}
return $bb;