/**
* Add menu item
* @param string $title Text in anchor
* @param string $module destination module
* @param string $presenter destination presenter
* @param string $action destination action
* @param string $auth resource for authorizator
* @param boolean $clickable is anchor clickable?
* @return void
*/
public function addItem($title, $module, $presenter, $action, $auth, $clickable = true)
{
if ($this->user->isAllowed($auth, "view")) {
$this->items[] = array("title" => $title, "module" => $module, "presenter" => $presenter, "action" => $action, "clickable" => $clickable);
}
return;
}