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

Public Member Functions

 before_filter (&$action, &$args)
 update_action ()
 put_action ()
 delete_action ()
- 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)

Detailed Description

This controller is used to manipulate the avatar of a course.

Author
mlunzena

Member Function Documentation

before_filter ( $action,
$args 
)

Callback function being called before an action is executed. If this function does not return FALSE, the action will be called, otherwise an error will be generated and processing will be aborted. If this function already #rendered or #redirected, further processing of the action is withheld.

Parameters
stringName of the action to perform.
arrayAn array of arguments to the action.
Returns
bool

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

delete_action ( )

This method is called to remove an avatar for a course.

Returns
void

Here is the call graph for this function:

put_action ( )

This method is called to upload a new avatar for a course.

Returns
void

Here is the call graph for this function:

update_action ( )

This method is called to show the form to upload a new avatar for a course.

Returns
void

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