Stupid php5.3 - fix scope for view::menu