public function onMenuDisplay(AnEvent $event)
    {
        $actor = $event->actor;
        $menuItems = $event->menuItems;

        if ($this->activeForActor($actor)) {
            $this->_setMenuLinks($actor, $menuItems);
        }
    }
public function onMenuDisplay(AnEvent $event)
    {
        $actor = $event->actor;
        $menuItems = $event->menuItems;

        if ($this->activeForActor($actor)) {
            $this->_setMenuLinks($actor, $menuItems);
        }
    }
public function onMenuDisplay ( AnEvent $ event ) { $ actor = $ event -> actor ; $ menuItems = $ event -> menuItems ; if ( $ this -> activeForActor ( $ actor ) ) { $ this -> _setMenuLinks ( $ actor , $ menuItems ) ; } }
On Viewer Menu display.

@param AnEvent $event The event parameter
On Viewer Menu display .