Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
MessagesController Class Reference
Inheritance diagram for MessagesController:
Inheritance graph
Collaboration diagram for MessagesController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 overview_action ($message_id=null)
 sent_action ($message_id=null)
 more_action ()
 read_action ($message_id)
 write_action ()
 send_action ()
 tag_action ($message_id)
 print_action ($message_id)
 delete_action ($message_id)
 upload_attachment_action ()
 delete_attachment_action ()
 preview_action ()
 delete_tag_action ()
 after_filter ($action, $args)

Protected Member Functions

 get_messages ($received=true, $limit=50, $offset=0, $tag=null, $search=null)

Protected Attributes

 $number_of_displayed_messages = 50
- Protected Attributes inherited from AuthenticatedController
 $allow_nobody = false

Detailed Description

message.php - Message controller

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Member Function Documentation

after_filter (   $action,
  $args 
)

Callback function being called after an action is executed.

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

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

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 (   $message_id)

Here is the call graph for this function:

delete_attachment_action ( )

Here is the call graph for this function:

delete_tag_action ( )

Here is the call graph for this function:

get_messages (   $received = true,
  $limit = 50,
  $offset = 0,
  $tag = null,
  $search = null 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

more_action ( )

Here is the call graph for this function:

overview_action (   $message_id = null)

Here is the call graph for this function:

preview_action ( )

Here is the call graph for this function:

print_action (   $message_id)

Here is the call graph for this function:

read_action (   $message_id)

Here is the call graph for this function:

send_action ( )

Sends a message and redirects the user.

Here is the call graph for this function:

sent_action (   $message_id = null)

Here is the call graph for this function:

tag_action (   $message_id)

Here is the call graph for this function:

upload_attachment_action ( )

Here is the call graph for this function:

write_action ( )

Lets the user compose a message and send it.

Here is the call graph for this function:

Field Documentation

$number_of_displayed_messages = 50
protected

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