private function getCustomElements(){
        $customElements = array();
        foreach($this->qtiItem->getComposingElements() as $element){
            if($element instanceof PortableCustomInteraction){
                $customElements[] = $element;
            }
        }
        return $customElements;
    }
private function getCustomElements(){
        $customElements = array();
        foreach($this->qtiItem->getComposingElements() as $element){
            if($element instanceof PortableCustomInteraction){
                $customElements[] = $element;
            }
        }
        return $customElements;
    }
private function getCustomElements ( ) { $ customElements = array ( ) ; foreach ( $ this -> qtiItem -> getComposingElements ( ) as $ element ) { if ( $ element instanceof PortableCustomInteraction ) { $ customElements [ ] = $ element ; } } return $ customElements ; }
Find the custom elements in the qti item

@return \oat\taoQtiItem\model\qti\interaction\PortableCustomInteraction[]
Find the custom elements in the qti item