adding menus to input into php class