Ejemplo n.º 1
0
 /**
  * Get the available rules.
  *
  * @return array Keys are the class names, values are the name of the rule.
  */
 public static function get_available_rules()
 {
     // Fully qualified class names without leading slashes because get_class() does not add them either.
     $rules = array('core_competency\\competency_rule_all' => competency_rule_all::get_name(), 'core_competency\\competency_rule_points' => competency_rule_points::get_name());
     return $rules;
 }