- Description:
Competency rule points module.
- Source:
- Copyright:
- 2015 Frédéric Massart - FMCorz.net
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Competency rule points module.
Methods
(protected, inner) _getCompetenciesConfig() → {Array}
- Description:
Gathers the input provided by the user for competencies.
- Source:
Returns:
Containing id, points and required.
- Type
- Array
(protected, inner) _getRequiredPoints() → {Number}
- Description:
Fetches the required points set by the user.
- Source:
Returns:
- Type
- Number
(inner) getConfig() → {String}
- Description:
The config established by this rule.
- Source:
Returns:
- Type
- String
(inner) getType() → {String}
- Description:
Return the type of the module.
- Source:
Returns:
- Type
- String
(inner) injectTemplate(container) → {Promise}
- Description:
Callback to inject the template.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
container |
Node | Node to inject in. |
Returns:
Resolved when done.
- Type
- Promise
(inner) isValid() → {Boolean}
- Description:
Whether or not the current config is valid.
- Source:
Returns:
- Type
- Boolean