<?php
class netdown 
{
    var 
$queryVars;
    function 
netdown($queryVars)
    {
        
$this->queryVars $queryVars;
    }
    
/**
     * Method to return the status of the AJAX transaction
     *
     * @return  string A string of raw HTML fetched from the Server
     */
    
function return_response()
    {
        
// lets pretend we're doing lots of processing and we'll take 8 seconds to complete it
        
sleep(8);
        
$resp "Hello from the server, you waited 8 seconds!<br>";
        return 
$resp;
    }
    
    function 
is_authorized()
    {
        return 
true;
    }
}

?>