tao-test/app/taoAltResultStorage/manifest.php

54 lines
1.7 KiB
PHP
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?php
/*
* @author CRP Henri Tudor - TAO Team - {@link http://www.tao.lu}
* @license GPLv2 http://www.opensource.org/licenses/gpl-2.0.php
*
*/
$extpath = dirname(__FILE__) . DIRECTORY_SEPARATOR;
$taopath = dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'tao' . DIRECTORY_SEPARATOR;
return array(
'name' => 'taoAltResultStorage',
'label' => 'Result storage key-value implementation',
'description' => 'Implements Alternative Result storage results interface using persistencies',
'version' => '5.7.1',
'author' => 'Open Assessment Technologies',
'models' => [
'http://www.tao.lu/Ontologies/taoAltResultStorage.rdf#'
],
'install' => [
'rdf' => [
__DIR__ . '/models/ontology/taoAltResultStorage.rdf'
],
'php' => [
oat\taoAltResultStorage\scripts\install\RegisterKeyValueResultStorage::class
]
],
'update' => 'oat\\taoAltResultStorage\\scripts\\update\\Updater',
'constants' => array(
# actions directory
"DIR_ACTIONS" => $extpath . "actions" . DIRECTORY_SEPARATOR,
# models directory
"DIR_MODELS" => $extpath . "models" . DIRECTORY_SEPARATOR,
# views directory
"DIR_VIEWS" => $extpath . "views" . DIRECTORY_SEPARATOR,
# helpers directory
"DIR_HELPERS" => $extpath . "helpers" . DIRECTORY_SEPARATOR,
# default module name
'DEFAULT_MODULE_NAME' => 'taoAltResultStorage',
#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 . '/taoAltResultStorage',
)
);