|
| update_action ($type, $id) |
|
| upload_action ($type, $id) |
|
| delete_action ($type, $id) |
|
| 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) |
|
| render_json ($data) |
|
| render_csv ($data, $filename=null, $delimiter=';', $enclosure='"') |
|
| relay ($to_uri) |
|
| perform_relayed ($unconsumed) |
|
| render_template_as_string ($template, $layout=null) |
|
◆ delete_action()
delete_action |
( |
|
$type, |
|
|
|
$id |
|
) |
| |
Deletes a custom avatar.
- Parameters
-
string | $type | object type: 'user', 'course' or 'institute' |
string | $id | ID of the object this avatar belongs to |
◆ update_action()
update_action |
( |
|
$type, |
|
|
|
$id |
|
) |
| |
Display the avatar information of a user, course or institute
- Parameters
-
string | $type | object type: 'user', 'course' or 'institute' |
string | $id | ID of the object this avatar belongs to |
◆ upload_action()
upload_action |
( |
|
$type, |
|
|
|
$id |
|
) |
| |
Upload a new avatar or removes the current avatar. Sends an information email to the user if the action was not invoked by himself.
- Parameters
-
string | $type | object type: 'user', 'course' or 'institute' |
string | $id | ID of the object this avatar belongs to |
The documentation for this class was generated from the following file: