Stud.IP  3.3 Revision
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)
 
- 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)
 

Protected Member Functions

 get_messages ($received=true, $limit=50, $offset=0, $tag=null, $search=null)
 
- Protected Member Functions inherited from StudipController
 populateInfobox ()
 

Protected Attributes

 $number_of_displayed_messages = 50
 
 $utf8decode_xhr = true
 
- 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
 

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

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 StudipController.

Here is the call graph for this function:

◆ before_filter()

before_filter ( $action,
$args 
)

Reimplemented from StudipController.

Here is the call graph for this function:

◆ delete_action()

delete_action (   $message_id)
Here is the call graph for this function:

◆ delete_attachment_action()

delete_attachment_action ( )
Here is the call graph for this function:

◆ delete_tag_action()

delete_tag_action ( )
Here is the call graph for this function:

◆ get_messages()

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

more_action ( )
Here is the call graph for this function:

◆ overview_action()

overview_action (   $message_id = null)
Here is the call graph for this function:

◆ preview_action()

preview_action ( )
Here is the call graph for this function:

◆ print_action()

print_action (   $message_id)
Here is the call graph for this function:

◆ read_action()

read_action (   $message_id)
Here is the call graph for this function:

◆ send_action()

send_action ( )

Sends a message and redirects the user.

Here is the call graph for this function:

◆ sent_action()

sent_action (   $message_id = null)
Here is the call graph for this function:

◆ tag_action()

tag_action (   $message_id)
Here is the call graph for this function:

◆ upload_attachment_action()

upload_attachment_action ( )
Here is the call graph for this function:

◆ write_action()

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

$number_of_displayed_messages = 50
protected

◆ $utf8decode_xhr

$utf8decode_xhr = true
protected

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