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

Public Member Functions

 before_filter (&$action, &$args)
 index_action ()
 buddy_action ($action= 'add')
 config_action ($setting, $ticket)
- 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 
)

Sets up the controller

Parameters
String$actionWhich action shall be invoked
Array$argsArguments passed to the action method

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

buddy_action (   $action = 'add')

Controller for all buddy related action.

The following actions are supported:

  • "add" to add a user to the current user's buddy list
  • "remove" to remove a user from the current user's buddy list
Parameters
String$actionThe action to be executed

Here is the call graph for this function:

config_action (   $setting,
  $ticket 
)

Changes a specific setting by toggling it's state.

Parameters
String$settingsThe settings to be changed
String$ticketNeccessary studip ticket to execute the change

Here is the call graph for this function:

index_action ( )

Displays the online list.

Here is the call graph for this function:


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