'taoQtiTestPreviewer', 'label' => 'extension-tao-testqti-previewer', 'description' => 'extension that provides QTI test previewer', 'license' => 'GPL-2.0', 'author' => 'Open Assessment Technologies SA', 'managementRole' => 'http://www.tao.lu/Ontologies/TAOTest.rdf#TaoQtiTestPreviewerRole', 'acl' => [ [ AccessRule::GRANT, 'http://www.tao.lu/Ontologies/TAOTest.rdf#TaoQtiTestPreviewerRole', ['ext' => 'taoQtiTestPreviewer'], ], [ AccessRule::GRANT, TaoItemsRoles::ITEM_AUTHOR, ['ext' => 'taoQtiTestPreviewer', 'mod' => 'Previewer'], ], [ AccessRule::GRANT, TaoItemsRoles::ITEM_PREVIEWER, ['ext' => 'taoQtiTestPreviewer', 'mod' => 'Previewer', 'act' => 'init'], ], [ AccessRule::GRANT, TaoItemsRoles::ITEM_PREVIEWER, ['ext' => 'taoQtiTestPreviewer', 'mod' => 'Previewer', 'act' => 'getItem'], ], [ AccessRule::GRANT, TaoItemsRoles::ITEM_PREVIEWER, ['ext' => 'taoQtiTestPreviewer', 'mod' => 'Previewer', 'act' => 'submitItem'], ], [ AccessRule::GRANT, TaoItemsRoles::ITEM_PREVIEWER, ['ext' => 'taoQtiTestPreviewer', 'mod' => 'Previewer', 'act' => 'asset'], ], ], 'install' => [ 'php' => [ RegisterPreviewers::class, RegisterTestPreviewer::class ], 'rdf' => [ __DIR__ . '/install/ontology/previewerRole.rdf', ], ], 'update' => Updater::class, 'uninstall' => [ ], 'routes' => [ '/taoQtiTestPreviewer' => 'oat\\taoQtiTestPreviewer\\controller' ], 'constants' => [ # views directory 'DIR_VIEWS' => __DIR__ . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR, #BASE URL (usually the domain root) 'BASE_URL' => ROOT_URL . 'taoQtiTestPreviewer/', ], 'extra' => [ 'structures' => __DIR__ . DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR . 'structures.xml', ], 'containerServiceProviders' => [ QtiTestPreviewerServiceProvider::class, ], ];