'taoOutcomeUi', 'label' => 'Result visualisation', 'description' => 'TAO Results extension', 'license' => 'GPL-2.0', 'author' => 'Open Assessment Technologies, CRP Henri Tudor', 'install' => [ 'php' => [ RegisterTestPluginService::class, SetUpQueueTasks::class, SetupSearchService::class, RegisterEvent::class ], 'rdf' => [ __DIR__ . '/install/ontology/reviewerRole.rdf', ] ], 'uninstall' => [], 'update' => 'oat\\taoOutcomeUi\\scripts\\update\\Updater', 'managementRole' => 'http://www.tao.lu/Ontologies/TAOResult.rdf#ResultsManagerRole', 'acl' => [ ['grant', 'http://www.tao.lu/Ontologies/TAOResult.rdf#ResultsManagerRole', ['ext' => 'taoOutcomeUi']], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, DeliveryMgmt::class . '@getOntologyData'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@index'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@getResults'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@viewResult'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@downloadXML'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@getFile'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@getResultsListPlugin'], [AccessRule::GRANT, Reviewer::REVIEWER_ROLE, Results::class . '@export'], ], 'routes' => [ '/taoOutcomeUi' => 'oat\\taoOutcomeUi\\controller' ], 'constants' => [ // views directory "DIR_VIEWS" => $extpath . "views" . DIRECTORY_SEPARATOR, // default module name 'DEFAULT_MODULE_NAME' => 'Results', // 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 . 'taoOutcomeUi/', ], 'extra' => [ 'structures' => dirname(__FILE__) . DIRECTORY_SEPARATOR . 'controller' . DIRECTORY_SEPARATOR . 'structures.xml' ] ];