private function setItemContent(SimpleXMLElement $content, core_kernel_classes_Resource $itemResource)
    {
        if ($this->isQtiItem($itemResource)) {
            return Service::singleton()->saveXmlItemToRdfItem($content->asXML(), $itemResource);
        }

        return false;
    }
private function setItemContent(SimpleXMLElement $content, core_kernel_classes_Resource $itemResource)
    {
        if ($this->isQtiItem($itemResource)) {
            return Service::singleton()->saveXmlItemToRdfItem($content->asXML(), $itemResource);
        }

        return false;
    }
private function setItemContent ( SimpleXMLElement $ content , core_kernel_classes_Resource $ itemResource ) { if ( $ this -> isQtiItem ( $ itemResource ) ) { return Service :: singleton ( ) -> saveXmlItemToRdfItem ( $ content -> asXML ( ) , $ itemResource ) ; } return false ; }
Set the item content for a qti item resource

@param SimpleXMLElement $content
@param core_kernel_classes_Resource $itemResource
@return bool
Set the item content for a qti item resource