|
Stud.IP
2.3 Revision 48548
|


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') | |
| before_filter | ( | & | $action, |
| & | $args | ||
| ) |
Common tasks for all actions.
Reimplemented from AuthenticatedController.

| favor_action | ( | $id, | |
| $view | |||
| ) |
Toggles whether a certain smiley is favored for the current user
| int | $id | Id of the smiley to favor/disfavor |
| String | $view | View to return to |

| index_action | ( | $view = null | ) |
Displays (a subset of) the smileys in the system
| mixed | $view | Subset to display, defaults to favorites for logged in users |
