PHP isn't event driven at all. Altho it exists Photon that is a framework to achive that.
And there are multiple ways to have menu. If with case
you mean switch ... case
: the answer is no. It is not the only way.
The way I make menu is with an array
$menu = array(
'url 1'=>'Element 1 ',
'url 2'=>'Element 2 ',
'url 3'=>'Element 3 '
);
With this array knowing which is the element selected is pretty simple with no need of a case statement