oat-sa/extension-tao-itemqti
最新稳定版本:v30.54.6
Composer 安装命令:
composer require oat-sa/extension-tao-itemqti
包简介
extension to create QTI items
README 文档
README
extension to create QTI items for TAO
How to import items
Environment Variables
QTI Identifier Validator Pattern - ENV_QTI_IDENTIFIER_VALIDATOR_PATTERN
QTI Item identifiers by default are normalized strings that accepts everything in the pattern /^[a-zA-Z_]{1}[a-zA-Z0-9_\.-]*$/u. If for some reason you want to change this behavior, it's possible by using the environment variable ENV_QTI_IDENTIFIER_VALIDATOR_PATTERN with a different pattern. Example:
# Do not accept dots on the QTI Item identifier ENV_QTI_IDENTIFIER_VALIDATOR_PATTERN='/^[a-zA-Z_]{1}[a-zA-Z0-9_-]*$/u'
This would mean that case the user tries to save or import an item with an identifier with dots, this would return an error:
After that, please always run taoUpdate to make sure that all the configurations were successfully applied.
cd /path/to/tao/app php tao/scripts/taoUpdate.php REMOTE_LIST_SCALE
This environment variable is used to enable the Remote List Scale feature. It allows you to define a remote list scale for items. Definition should be a link to a json file with correct structure.
[ { "uri": "http://www.tao.lu/Ontologies/TAO.rdf#CERF-A1-A2", "label": "CEFR SCALE A1-A2", "values": { "1": "Under A1", "2": "A1", "3": "A2" } }, { "uri": "http://www.tao.lu/Ontologies/TAO.rdf#CERF-A2-B1", "label": "CEFR SCALE A2-B1", "values": { "1": "Under A1", "2": "A1", "3": "A2", "4": "B1" } }, { "uri": "http://www.tao.lu/Ontologies/TAO.rdf#CERF-B1-B2", "label": "CEFR SCALE B1-B2", "values": { "1": "Under A1", "2": "A1", "3": "A2", "4": "B1", "5": "B2" } }, { "uri": "http://www.tao.lu/Ontologies/TAO.rdf#CERF", "label": "CEFR SCALE C1", "values": { "1": "Under C1", "2": "C1" } } ] REMOTE_LIST_SCALE='https://gist.githubusercontent.com/bartlomiejmarszal/7bac38b07c965b75f6e4a5f19c0e6445/raw/e7c200c7333c895724dde757e1c8ce271eef7be1/scales.json' Feature Flags
| Variable | Description | Default value |
|---|---|---|
| FEATURE_FLAG_FLA | Toggles certain media-interaction options' availability in item authoring | false |
| FEATURE_FLAG_UNIQUE_NUMERIC_QTI_IDENTIFIER | This will replace Item Qti Identifier to 9 digits non editable field | - |
| REMOTE_LIST_SCALE | Define and enable Remote List Scale feature | - |
| FEATURE_FLAG_WIRIS_MATH_PATH | Toggles Wiris MathPath Editor for MathJax flow | - |
统计信息
- 总下载量: 113.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 3
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2026-01-04
