Easy to use, object-orientated data handler for the VATSIM status system.
- file_get_contents
- getPilots() - Get all pilots connected.
- getSupervisors() - Everyone connected to VATSIM as a Aupervisor or Administrator.
- getStaff() - Get all staff members, vACC/ARTCC/Division/Region/Supervisors/BoG/Founders.
- getObservers() - All observers, including staff & supervisors.
- getAirTraffic() - All air traffic controllers.
- getVoiceServers() - Available voice servers.
- getPrefiled() - Prefiled flightplans.
- getClients() - Everyone connected to VATSIM.
- searchFor( functionName, RegEX, variableName ) - Use RegEX to search variables.
Bear in mind, this only lists callsigns. You might find it more beneficial to var_dump one of the clients, to see the different variables available to you.
<?php
require( "DataHandler.php" );
$DH = new DataHandler();
foreach( $DH->getClients() as $client ){
print( $client->callsign . "<br/>" );
}