|
| | before_filter (&$action, &$args) |
| |
| | configure_action ($ruleType='', $ruleId='') |
| |
| | select_type_action ($cs_id='') |
| |
| | save_action ($ruleType, $ruleId='') |
| |
| | validate_action ($ruleType) |
| |
| | before_filter (&$action, &$args) |
| |
| | perform ($unconsumed_path) |
| |
| | after_filter ($action, $args) |
| |
| | validate_args (&$args, $types=NULL) |
| |
| | url_for ($to='') |
| |
| | link_for ($to='') |
| |
| | relocate ($to) |
| |
| | rescue ($exception) |
| |
| | render_json ($data) |
| |
| | render_csv ($data, $filename=null, $delimiter=';', $enclosure='"') |
| |
| | relay ($to_uri) |
| |
| | perform_relayed ($unconsumed) |
| |
| | render_template_as_string ($template, $layout=null) |
| |
◆ 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: