foreach ($arr as $parameter => $value) {
$this->genMenu = '<li><a href="'.$value['link'].'" class=" hvr-bounce-to-right"><i class="'.$value['icon'].'"></i><span class="nav-label">'.$value['name'].'</span></a></li>';
if(is_array($value['multimenu'])) {
foreach ($value['multimenu'] as $valueMM) {
print_r($valueMM['name']);
}
}
}
Не хочет работать со строкой:
'grid' => self::getGroup($this->grid)[0]->id,
При этом var_dump выдает:
["grid"]=> string(1) "1"