efin3/topic-types
Composer 安装命令:
composer require efin3/topic-types
包简介
Escola Headless LMS Topic Types
README 文档
README
Extending package for courses
What does it do
This repository stores code for EscolaLMS Content Topic types. At the moment there are the following types:
- Audio.
- H5P. Reusable Interactive HTML5 Content
- Image.
- oEmbed. oEmbed is a format for allowing an embedded representation of a URL on third party sites.
- RichText. Markdown rich texts. Like github readme files
- Video. Video with possible conversion to HLS format.
- PDF.
Those types are used for building headless Course.
Installing
This package is installing with package course - See TopicTypes
Adding new Content Types
It's possible to add any new content type, for example HTML Text.
See Courses readme for tutorial
Tests
Run ./vendor/bin/phpunit --filter 'EscolaLms\\TopicTypes\\Tests' to run tests. See tests folder as it's quite good staring point as documentation appendix.
Events
EscolaLms\TopicTypes\Events\TopicTypeChanged=> Event is dispatched when topic type value is changed.
Admin panel
Add topic type to lesson
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-14
