break; case 'stat_hourly_site': $selection = 'hourly site stats'; $data = $unifidata->stat_hourly_site(); break; case 'stat_sysinfo': $selection = 'sysinfo'; $data = $unifidata->stat_sysinfo(); break; case 'stat_hourly_aps': $selection = 'hourly ap stats'; $data = $unifidata->stat_hourly_aps(); break; case 'stat_daily_site': $selection = 'daily site stats'; $data = $unifidata->stat_daily_site(); break; case 'list_devices': $selection = 'list devices'; $data = $unifidata->list_aps(); break; case 'list_wlan_groups': $selection = 'list wlan groups'; $data = $unifidata->list_wlan_groups(); break; case 'stat_sessions': $selection = 'stat sessions'; $data = $unifidata->stat_sessions(); break; case 'list_users': $selection = 'list users';