Closed davidkudera closed 10 years ago
$item = $menu->getItem('homepage'); $item->setData(['icon' => 'home']); $item->addData('count', 5);
also getData($item = null) would be nice
getData($item = null)
and setIcon(string), getIcon(), setCounter(int) and getCounter() shortcuts
setIcon(string)
getIcon()
setCounter(int)
getCounter()
also
getData($item = null)
would be nice