'taoQtiTest', 'label' => 'QTI test model', 'description' => 'TAO QTI test implementation', 'license' => 'GPL-2.0', 'author' => 'Open Assessment Technologies', 'models' => [ 'http://www.tao.lu/Ontologies/TAOTest.rdf', ], 'install' => [ 'rdf' => [ __DIR__ . '/models/ontology/qtitest.rdf', __DIR__ . '/models/ontology/taoQtiTestItemRunner.rdf', __DIR__ . '/models/ontology/qtiCat.rdf', ], 'php' => [ __DIR__ . '/scripts/install/addQtiTestFolder.php', __DIR__ . '/scripts/install/addQtiTestAcceptableLatency.php', __DIR__ . '/scripts/install/addExtraTestRunnerButtons.php', RegisterTestRunnerProviders::class, RegisterTestRunnerPlugins::class, RegisterTestMetadataExporter::class, CreateTestSessionFilesystem::class, RegisterQtiFlysystemManager::class, RegisterTestImporters::class, SetupEventListeners::class, RegisterCreatorServices::class, RegisterTestCategoryPresetProviderService::class, RegisterQtiCategoryPresetProviders::class, RegisterSectionPauseService::class, SetSynchronisationService::class, SyncChannelInstaller::class, RegisterTestContainer::class, SetUpQueueTasks::class, SetLinearNextItemWarningConfig::class, RegisterFrontendPaths::class, RegisterTimerStrategyService::class, RegisterTimerAdjustmentService::class, RegisterQtiPackageExporter::class, SetupProvider::class, SetupDefaultTemplateConfiguration::class, DisableBRSinTestAuthoring::class ], ], 'update' => Updater::class, 'local' => [ 'php' => [ __DIR__ . '/install/local/addQTIExamples.php', ], ], 'managementRole' => 'http://www.tao.lu/Ontologies/TAOTest.rdf#TaoQtiManagerRole', 'acl' => [ ['grant', 'http://www.tao.lu/Ontologies/TAOTest.rdf#TaoQtiManagerRole', ['ext' => 'taoQtiTest']], ['grant', 'http://www.tao.lu/Ontologies/TAO.rdf#DeliveryRole', ['ext' => 'taoQtiTest', 'mod' => 'ItemRunner']], ['grant', 'http://www.tao.lu/Ontologies/TAO.rdf#DeliveryRole', ['ext' => 'taoQtiTest', 'mod' => 'TestRunner']], ['grant', 'http://www.tao.lu/Ontologies/TAO.rdf#DeliveryRole', ['ext' => 'taoQtiTest', 'mod' => 'Runner']], ['grant', 'http://www.tao.lu/Ontologies/TAO.rdf#DeliveryRole', ['ext' => 'taoQtiTest', 'mod' => 'OfflineRunner']], ['grant', 'http://www.tao.lu/Ontologies/TAOTest.rdf#TestsManagerRole', ['ext' => 'taoQtiTest', 'mod' => 'Creator']], ['grant', 'http://www.tao.lu/Ontologies/TAOTest.rdf#TestsManagerRole', ['ext' => 'taoQtiTest', 'mod' => 'Items']], ['grant', 'http://www.tao.lu/Ontologies/TAOTest.rdf#TestsManagerRole', ['ext' => 'taoQtiTest', 'mod' => 'RestQtiTests']], ['grant', TaoRoles::REST_PUBLISHER, ['ext' => 'taoQtiTest', 'mod' => 'RestQtiTests']], ['deny', 'http://www.tao.lu/Ontologies/TAOTest.rdf#TaoQtiManagerRole', ['ext' => 'taoQtiTest', 'mod' => 'XmlEditor']], ['grant', XmlEditorInterface::XML_EDITOR_ROLE, ['ext' => 'taoQtiTest', 'mod' => 'XmlEditor']], ], 'constants' => [ # actions directory 'DIR_ACTIONS' => $extpath . 'actions' . DIRECTORY_SEPARATOR, # views directory 'DIR_VIEWS' => $extpath . 'views' . DIRECTORY_SEPARATOR, # default module name 'DEFAULT_MODULE_NAME' => 'Main', #default action name 'DEFAULT_ACTION_NAME' => 'index', #BASE PATH: the root path in the file system (usually the document root) 'BASE_PATH' => $extpath, #BASE URL (usually the domain root) 'BASE_URL' => ROOT_URL . 'taoQtiTest/', ], 'extra' => [ 'structures' => __DIR__ . DIRECTORY_SEPARATOR . 'actions' . DIRECTORY_SEPARATOR . 'structures.xml', ], ];