public function process($last_call = true)
    {
        if (self::is_ajax(true)) {
            // AJAX call
            return $this->process_data($last_call);
        }
        return true;
    }
public function process($last_call = true)
    {
        if (self::is_ajax(true)) {
            // AJAX call
            return $this->process_data($last_call);
        }
        return true;
    }
public function process ( $ last_call = true ) { if ( self :: is_ajax ( true ) ) { // AJAX call return $ this -> process_data ( $ last_call ) ; } return true ; }
Process the AJAX requests if any.

@param bool $last_call Set this to false if any other further calls
to process() will happen, otherwise it will exit

@throws PheryException
@return boolean Return false if any error happened
Process the AJAX requests if any .