|
Stud.IP
jlu_3.3 Revision
|


Public Member Functions | |
| before_filter (&$action, &$args) | |
| index_action ($view=null) | |
| favor_action ($id, $view) | |
| picker_action ($view=null, $page=0) | |
Public Member Functions inherited from StudipController | |
| before_filter (&$action, &$args) | |
| perform ($unconsumed_path) | |
| after_filter ($action, $args) | |
| validate_args (&$args, $types=NULL) | |
| url_for ($to='') | |
| link_for ($to='') | |
| relocate ($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) | |
Data Fields | |
| const | GRID_WIDTH = 5 |
| const | GRID_HEIGHT = 2 |
Additional Inherited Members | |
Protected Member Functions inherited from StudipController | |
| populateInfobox () | |
Protected Attributes inherited from AuthenticatedController | |
| $with_session = true | |
| $allow_nobody = false | |
Protected Attributes inherited from StudipController | |
| $with_session = false | |
| $allow_nobody = true | |
| $encoding = "windows-1252" | |
| $utf8decode_xhr = false | |
| before_filter | ( | & | $action, |
| & | $args | ||
| ) |
Common tasks for all actions.
Reimplemented from StudipController.

| 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 if enabled |

| picker_action | ( | $view = null, |
|
$page = 0 |
|||
| ) |
Back end for the smiley picker javascript module. Renders a list of smileys very similar to the index action but unfortunately still to different to be combined.
| mixed | $view | Subset to display, defaults to favorites if enabled |
| int | $page | Section of subset to display |

| const GRID_HEIGHT = 2 |
| const GRID_WIDTH = 5 |