5.2 Plugin background
Useful information for the plugin developer including project structure, or used capabilities.
Everything you need to know about eTask format.
The plugin has the following file structure.
.
etask/
├── backup/
| └── moodle2/
| └── restore_format_etask_plugin.class.php
├── classes/
| ├── output/
| | ├── courseformat/
| | | └── content.php
| | ├── gradeitem_body.php
| | ├── gradeitem_head.php
| | ├── gradeitem_popover.php
| | ├── gradepass_input.php
| | ├── gradingtable_footer.php
| | ├── gradingtable_help_popover.php
| | ├── gradingtable.php
| | └── renderer.php
| └── privacy/
| └── provider.php
├── db/
| └── upgrade.php
├── lang/
| ├── cs/
| | └── format_etask.php
| └── en/
| └── format_etask.php
├── pix/
| └── plugin.png
├── templates/
| ├── content.mustache
| ├── gradeitem_body.mustache
| ├── gradeitem_head.mustache
| ├── gradeitem_popover.mustache
| ├── gradepass_input.mustache
| ├── gradingtable_footer.mustache
| ├── gradingtable_help_popover.mustache
| └── gradingtable.mustache
├── format.js
├── format.php
├── lib.php
├── LICENSE
├── README.md
├── settings.php
├── styles.css
├── update_settings.php
└── version.php
Except for basic Custom sections format course settings, the following are available in the context of the grading table.
Setting | Options | Default |
---|---|---|
Student privacy | 0 , 1 |
1 (turned on) |
Grade item progress bars | 0 , 1 |
1 (shown) |
Students per page | any number > 0 | 10 |
Grade items sorting | latest , oldest , inherit |
latest (new activities first) |
Placement | above , below |
above (above topics) |
Passed label | any text | Passed |
Failed label | any text | Failed |
This plugin is using existing Moodle core capabilities. See the table below, describing what is accessible for the user which has given capability.
Capability | Description |
---|---|
moodle/course:manageactivities |
The settings section is available in the grade item popover. |
moodle/course:viewparticipants |
The grading table is displayed. |
moodle/grade:edit |
Grade value in the grading table refers to the grade edit. |
moodle/grade:viewall |
Show all the grades and progress bars regardless of the course settings. |
moodle/site:accessallgroups |
Allow access to all groups. |
moodle/course:update |
Show help popover in the grading table footer. |
moodle/grade:view |
Students with this competency are included in the grading table. |
This series defines the way you can contribute to this project. Explains how to report a new issue or contact plugin maintainer in the case of security issue. Provides the plugin background showing project structure or used capabilities. Useful screenshots are attached.