private function getCustomElements(){
        $customElements = array();
        foreach($this->qtiItem->getComposingElements() as $element){
            if($element instanceof PortableCustomInteraction){
                $customElements[] = $element;
            }
        }
        return $customElements;
    }