tool_lp/competency_rule_all

Competency rule all module.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

tool_lp/competency_rule_all

Methods

(protected, inner) _getCompetenciesConfig() → {Array}

Source:

Gathers the input provided by the user for competencies.

Returns:

Containing id, points and required.

Type
Array

(protected, inner) _getRequiredPoints() → {Number}

Source:

Fetches the required points set by the user.

Returns:
Type
Number

(inner) getConfig() → {String}

Source:

The config established by this rule.

Returns:
Type
String

(inner) getType() → {String}

Source:

Return the type of the module.

Returns:
Type
String

(inner) getType() → {String}

Source:

Return the type of the module.

Returns:
Type
String

(inner) injectTemplate(container) → {Promise}

Source:

Callback to inject the template.

Parameters:
Name Type Description
container Node

Node to inject in.

Returns:

Resolved when done.

Type
Promise

(inner) isValid() → {Boolean}

Source:

Whether or not the current config is valid.

Returns:
Type
Boolean

(inner) isValid() → {Boolean}

Source:

Whether or not the current config is valid.

Returns:
Type
Boolean

Competency rule points module.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

tool_lp/competency_rule_all

Methods

(protected, inner) _getCompetenciesConfig() → {Array}

Source:

Gathers the input provided by the user for competencies.

Returns:

Containing id, points and required.

Type
Array

(protected, inner) _getRequiredPoints() → {Number}

Source:

Fetches the required points set by the user.

Returns:
Type
Number

(inner) getConfig() → {String}

Source:

The config established by this rule.

Returns:
Type
String

(inner) getType() → {String}

Source:

Return the type of the module.

Returns:
Type
String

(inner) getType() → {String}

Source:

Return the type of the module.

Returns:
Type
String

(inner) injectTemplate(container) → {Promise}

Source:

Callback to inject the template.

Parameters:
Name Type Description
container Node

Node to inject in.

Returns:

Resolved when done.

Type
Promise

(inner) isValid() → {Boolean}

Source:

Whether or not the current config is valid.

Returns:
Type
Boolean

(inner) isValid() → {Boolean}

Source:

Whether or not the current config is valid.

Returns:
Type
Boolean