public function getInteractionResponseProcessing(ResponseDeclaration $response){
        foreach($this->components as $irp){
            if($irp->getResponse() == $response){
                $returnValue = $irp;
                break;
            }
        }
        if(is_null($returnValue)){
            throw new common_Exception('No interactionResponseProcessing defined for '.$response->getIdentifier());
        }
        return $returnValue;
    }
public function getInteractionResponseProcessing(ResponseDeclaration $response){
        foreach($this->components as $irp){
            if($irp->getResponse() == $response){
                $returnValue = $irp;
                break;
            }
        }
        if(is_null($returnValue)){
            throw new common_Exception('No interactionResponseProcessing defined for '.$response->getIdentifier());
        }
        return $returnValue;
    }
public function getInteractionResponseProcessing ( ResponseDeclaration $ response ) { foreach ( $ this -> components as $ irp ) { if ( $ irp -> getResponse ( ) == $ response ) { $ returnValue = $ irp ; break ; } } if ( is_null ( $ returnValue ) ) { throw new common_Exception ( 'No interactionResponseProcessing defined for ' . $ response -> getIdentifier ( ) ) ; } return $ returnValue ; }
Short description of method getInteractionResponseProcessing

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Response response
@return oat\taoQtiItem\model\qti\response\interactionResponseProcessing\InteractionResponseProcessing
Short description of method getInteractionResponseProcessing