public function takeNoticeOfRemovedInteraction(Interaction $interaction, Item $item){
        $irpExisted = false;
        foreach($this->components as $key => $irp){
            if($irp->getResponse() === $interaction->getResponse()){
                unset($this->components[$key]);
                $irpExisted = true;
                break;
            }
        }
        if(!$irpExisted){
            common_Logger::w('InstanceResponseProcessing not found for removed interaction '.$interaction->getIdentifier(), array('TAOITEMS', 'QTI'));
        }
    }
public function takeNoticeOfRemovedInteraction(Interaction $interaction, Item $item){
        $irpExisted = false;
        foreach($this->components as $key => $irp){
            if($irp->getResponse() === $interaction->getResponse()){
                unset($this->components[$key]);
                $irpExisted = true;
                break;
            }
        }
        if(!$irpExisted){
            common_Logger::w('InstanceResponseProcessing not found for removed interaction '.$interaction->getIdentifier(), array('TAOITEMS', 'QTI'));
        }
    }
public function takeNoticeOfRemovedInteraction ( Interaction $ interaction , Item $ item ) { $ irpExisted = false ; foreach ( $ this -> components as $ key => $ irp ) { if ( $ irp -> getResponse ( ) === $ interaction -> getResponse ( ) ) { unset ( $ this -> components [ $ key ] ) ; $ irpExisted = true ; break ; } } if ( ! $ irpExisted ) { common_Logger :: w ( 'InstanceResponseProcessing not found for removed interaction ' . $ interaction -> getIdentifier ( ) , array ( 'TAOITEMS' , 'QTI' ) ) ; } }
Short description of method takeNoticeOfRemovedInteraction

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Interaction interaction
@param  Item item
@return mixed
Short description of method takeNoticeOfRemovedInteraction