models/classes/runner/QtiRunnerServiceContext.php
protected function getItemUriFromRefId($itemId)
    {
        $ref = $this->getServiceManager()->get(CatService::SERVICE_ID)->getAssessmentItemRefByIdentifier(
            $this->getCompilationDirectory()['private'],
            $itemId
        );
        return explode('|', $ref->getHref())[0];
    }
protected function getItemUriFromRefId($itemId)
    {
        $ref = $this->getServiceManager()->get(CatService::SERVICE_ID)->getAssessmentItemRefByIdentifier(
            $this->getCompilationDirectory()['private'],
            $itemId
        );
        return explode('|', $ref->getHref())[0];
    }
protected function getItemUriFromRefId ( $ itemId ) { $ ref = $ this -> getServiceManager ( ) -> get ( CatService :: SERVICE_ID ) -> getAssessmentItemRefByIdentifier ( $ this -> getCompilationDirectory ( ) [ 'private' ] , $ itemId ) ; return explode ( '|' , $ ref -> getHref ( ) ) [ 0 ] ; }
Get item uri associated to the given $itemId.

@return string The uri
Get item uri associated to the given $itemId .