◆ before_filter()
| before_filter |
( |
& |
$action, |
|
|
& |
$args |
|
) |
| |
◆ configure_action()
| configure_action |
( |
|
$ruleType = '', |
|
|
|
$ruleId = '' |
|
) |
| |
Gets the template for the rule configuration form.
- Parameters
-
| String | $ruleType | Class name of the rule to configure. |
| String | $ruleId | Optional ID of an existing rule. |
◆ save_action()
| save_action |
( |
|
$ruleType, |
|
|
|
$ruleId = '' |
|
) |
| |
Saves the given rule.
- Parameters
-
| String | $ruleType | The class name of the configured rule. |
| String | $ruleId | ID of the rule to save, or empty if this is a new rule. |
◆ select_type_action()
| select_type_action |
( |
|
$cs_id = '' | ) |
|
Shows a form for selecting which rule type to use.
- Parameters
-
| String | $cs_id | ID of a courseset the rule shall belong to. |
◆ validate_action()
| validate_action |
( |
|
$ruleType | ) |
|
Validates if the values given in the current request are sufficient to configure a rule of the given type.
- Parameters
-
| String | $ruleType | Class name of the rule to check. |
The documentation for this class was generated from the following file: