Competency rule points based class.
More...
|
static | get_name () |
| The name of the rule.
|
|
static | migrate_config ($config, $mappings) |
| Migrate rule config when duplicate competency based on mapping competencies ids.
|
|
Competency rule points based class.
This rule matches when related competencies contribute for a required number of points.
- Copyright
- 2015 Frédéric Massart - FMCorz.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_config()
core_competency\competency_rule_points::get_config |
( |
| ) |
|
|
protected |
◆ get_name()
static core_competency\competency_rule_points::get_name |
( |
| ) |
|
|
static |
◆ matches()
core_competency\competency_rule_points::matches |
( |
user_competency | $usercompetency | ) |
|
Whether or not the rule is matched.
- Parameters
-
user_competency | $usercompetency | The user competency. |
- Return values
-
Reimplemented from core_competency\competency_rule.
◆ migrate_config()
static core_competency\competency_rule_points::migrate_config |
( |
| $config, |
|
|
| $mappings ) |
|
static |
Migrate rule config when duplicate competency based on mapping competencies ids.
- Parameters
-
string | $config | the config rule of a competency |
array | $mappings | array that match the old competency ids with the new competencies |
- Return values
-
Reimplemented from core_competency\competency_rule.
◆ validate_config()
core_competency\competency_rule_points::validate_config |
( |
| $value | ) |
|
The documentation for this class was generated from the following file:
- competency/classes/competency_rule_points.php