Stud.IP  2.3 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
SmileysController Class Reference
Inheritance diagram for SmileysController:
Inheritance graph
Collaboration diagram for SmileysController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 index_action ($view=null)
 favor_action ($id, $view)
- Public Member Functions inherited from AuthenticatedController
 after_filter ($action, $args)
- Public Member Functions inherited from StudipController
 validate_args (&$args, $types=NULL)
 url_for ($to)
 rescue ($exception)
 setInfoBoxImage ($image)
 addToInfobox ($category, $text, $icon= 'blank.gif')

Member Function Documentation

before_filter ( $action,
$args 
)

Common tasks for all actions.

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

favor_action (   $id,
  $view 
)

Toggles whether a certain smiley is favored for the current user

Parameters
int$idId of the smiley to favor/disfavor
String$viewView to return to

Here is the call graph for this function:

index_action (   $view = null)

Displays (a subset of) the smileys in the system

Parameters
mixed$viewSubset to display, defaults to favorites for logged in users

Here is the call graph for this function:


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