*/ class taoQtiTest_helpers_Utils extends ConfigurableService { const SERVICE_ID = 'taoQtiTest/taoQtiTestHelpersUtils'; /** * @deprecated use QtiTestUtils::storeQtiResource */ public static function storeQtiResource(Directory $testContent, $qtiResource, $origin, $copy = true, $rename = '') { return static::getService()->storeQtiResource($testContent, $qtiResource, $origin, $copy, $rename); } /** * @deprecated use QtiTestUtils::emptyImsManifest */ public static function emptyImsManifest($version = '2.1') { return static::getService()->emptyImsManifest($version); } /** * @deprecated use QtiTestUtils::buildAssessmentItemRefsTestMap */ public static function buildAssessmentItemRefsTestMap(XmlDocument $test, taoQtiTest_models_classes_ManifestParser $manifestParser, $basePath) { return static::getService()->buildAssessmentItemRefsTestMap($test, $manifestParser, $basePath); } /** * @deprecated use QtiTestUtils::getTestDefinition */ public static function getTestDefinition($qtiTestCompilation) { return static::getService()->getTestDefinition($qtiTestCompilation); } /** * @return QtiTestUtils */ private static function getService() { return ServiceManager::getServiceManager()->get(QtiTestUtils::SERVICE_ID); } }