Competency rule all class.
More...
Competency rule all class.
This rule is considered matched when all the children of a competency are completed.
- 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::get_config |
( |
| ) |
|
|
protectedinherited |
◆ get_name()
static core_competency\competency_rule_all::get_name |
( |
| ) |
|
|
static |
◆ matches()
core_competency\competency_rule_all::matches |
( |
user_competency |
$usercompetency | ) |
|
◆ migrate_config()
static core_competency\competency_rule::migrate_config |
( |
|
$config, |
|
|
|
$mappings |
|
) |
| |
|
staticinherited |
Migrate rule config from one set of competencies to another.
Exceptions should be thrown when the migration can not be performed.
- Parameters
-
string | $config | Original config rule of a competency. |
array | $mappings | Array that matches the original competency IDs with the new competencies objects. |
- Return values
-
- Exceptions
-
Reimplemented in core_competency\competency_rule_points.
◆ validate_config()
core_competency\competency_rule_all::validate_config |
( |
|
$value | ) |
|
The documentation for this class was generated from the following file: