'taoLti', 'label' => 'LTI library', 'description' => 'TAO LTI library and helpers', 'author' => 'Open Assessment Technologies SA', 'routes' => [ '/taoLti' => 'oat\\taoLti\\controller' ], 'models' => [ 'http://www.tao.lu/Ontologies/TAOLTI.rdf', 'http://www.imsglobal.org/imspurl/lis/v1/vocab/person', 'http://www.imsglobal.org/imspurl/lis/v1/vocab/membership' ], 'install' => [ 'rdf' => [ $extpath . 'install/ontology/lti.rdf', $extpath . 'install/ontology/roledefinition.rdf', $extpath . 'install/ontology/ltiroles_person.rdf', $extpath . 'install/ontology/ltiroles_membership.rdf' ], 'php' => [ InstallServices::class, GenerateKeys::class, MapLtiSectionVisibility::class, GenerisSearchWhitelist::class ] ], 'update' => Updater::class, 'managementRole' => 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LtiManagerRole', 'acl' => [ [AccessRule::GRANT, 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LtiManagerRole', ['ext' => 'taoLti']], [AccessRule::GRANT, TaoRoles::ANONYMOUS, CookieUtils::class], [AccessRule::GRANT, TaoRoles::BASE_USER, ['ext' => 'taoLti','mod' => 'LtiConsumer', 'act' => 'call']], [AccessRule::GRANT, TaoRoles::ANONYMOUS, Security::class], ], 'constants' => [ # controller directory 'DIR_ACTIONS' => $extpath . 'controller' . DIRECTORY_SEPARATOR, # views directory 'DIR_VIEWS' => $extpath . 'views' . DIRECTORY_SEPARATOR, #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 . 'taoLti/', ], 'extra' => [ 'structures' => $extpath . 'controller' . DIRECTORY_SEPARATOR . 'structures.xml', ] ];