Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
Admission_RuleController Class Reference
Inheritance diagram for Admission_RuleController:
Inheritance graph
Collaboration diagram for Admission_RuleController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 configure_action ($ruleType='', $ruleId='')
 select_type_action ($cs_id= '')
 save_action ($ruleType, $ruleId='')
 validate_action ($ruleType)
- Public Member Functions inherited from AuthenticatedController
 after_filter ($action, $args)
- Public Member Functions inherited from StudipController
 validate_args (&$args, $types=NULL)
 url_for ($to= '')
 link_for ($to= '')
 rescue ($exception)
 setInfoBoxImage ($image)
 addToInfobox ($category, $text, $icon= 'blank.gif')
 render_json ($data)
 relay ($to_uri)
 perform_relayed ($unconsumed)
 render_template_as_string ($template, $layout=null)

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 populateInfobox ()
- Protected Attributes inherited from AuthenticatedController
 $allow_nobody = false

Member Function Documentation

before_filter ( $action,
$args 
)
See Also
AuthenticatedController::before_filter

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

configure_action (   $ruleType = '',
  $ruleId = '' 
)

Gets the template for the rule configuration form.

Parameters
String$ruleTypeClass name of the rule to configure.
String$ruleIdOptional ID of an existing rule.

Here is the call graph for this function:

save_action (   $ruleType,
  $ruleId = '' 
)

Saves the given rule.

Parameters
String$ruleTypeThe class name of the configured rule.
String$ruleIdID of the rule to save, or empty if this is a new rule.

Here is the call graph for this function:

select_type_action (   $cs_id = '')

Shows a form for selecting which rule type to use.

Parameters
String$cs_idID of a courseset the rule shall belong to.

Here is the call graph for this function:

validate_action (   $ruleType)

Validates if the values given in the current request are sufficient to configure a rule of the given type.

Parameters
String$ruleTypeClass name of the rule to check.

Here is the call graph for this function:


The documentation for this class was generated from the following file: