Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Settings_StatusgruppenController Class Reference
Inheritance diagram for Settings_StatusgruppenController:
Settings_SettingsController AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ($verify_action=null, $verify_id=null)
 
 default_action ($inst_id, $role_id, $datafield_id, $state)
 
 defaults_action ($role_id, $state)
 
 assign_action ()
 
 delete_action ($id, $verified=false)
 
 move_action ($id, $direction)
 
 store_action ($type, $id)
 
 verify_action ($action, $id=null)
 
- Public Member Functions inherited from Settings_SettingsController
 before_filter (&$action, &$args)
 
 url_for ($to= '')
 
 get_default_template ($action)
 
 render_nothing ($text= '')
 
 shallChange ($field, $attribute=null, $value=null)
 
 after_filter ($action, $args)
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 erase_response ()
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to= '')
 
 link_for ($to= '')
 
 redirect ($to)
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter= ';', $enclosure= '"')
 
 render_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 render_temporary_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 relay ($to_uri)
 
 relayWithRedirect (...$args)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 
 validate_datetime ($datetime, $format= 'H:i')
 

Additional Inherited Members

- Protected Member Functions inherited from Settings_SettingsController
 check_ticket ()
 
 postPrivateMessage ($message)
 
- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 
 getBodyElementIdForControllerAndAction ($unconsumed_path)
 
- Protected Attributes inherited from Settings_SettingsController
 $private_messages = []
 
- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $_autobind = false
 

Member Function Documentation

assign_action ( )

Assign/add a user to a statusgruppe.

before_filter ( $action,
$args 
)

Set up this controller

Parameters
String$actionName of the action to be invoked
Array$argsArguments to be passed to the action method
default_action (   $inst_id,
  $role_id,
  $datafield_id,
  $state 
)

Set defaults for a single datafield of a statusgruppe.

Parameters
String$inst_idId of the institute in question
String$role_idId of the statusgruppe in question
String$datafield_idId of the datafield in question
bool$stateIndicates whether the defaults should be used or not
defaults_action (   $role_id,
  $state 
)

Set defaults for all datafields of a statusgruppe.

Parameters
String$role_idId of the statusgruppe in question
bool$stateIndicates whether the defaults should be used or not
delete_action (   $id,
  $verified = false 
)

Removes a user from a statusgruppe.

Parameters
String$idId of the statusgruppe in question
bool$verifiedIndicates whether the action has been verified
index_action (   $verify_action = null,
  $verify_id = null 
)

Displays the statusgruppen of a user.

Parameters
mixed$verify_actionOptional name of an action to be verified
mixed$verify_idOptional id that belongs to the action to be verified
move_action (   $id,
  $direction 
)

Moves a specific statusgruppe into the given direction.

Parameters
String$idId of the statusgruppe in question
String$directionEither 'up' or 'down'
store_action (   $type,
  $id 
)

Stores the statusgruppen of a user.

verify_action (   $action,
  $id = null 
)

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