Stud.IP  trunk 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 ()
 
 setupSidebar ($action)
 
- 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)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter=';', $enclosure='"')
 
 relay ($to_uri)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 

Protected Member Functions

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

Protected Attributes

 $number_of_displayed_messages = 50
 
- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $_autobind = 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.

Author
Stud.IP developers
Moritz Strohm stroh.nosp@m.m@da.nosp@m.ta-qu.nosp@m.est..nosp@m.de (only code related to the new file area)

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)
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_message()

delete_message (   $message_id)
protected
Here is the call graph for this function:
Here is the caller 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:

◆ setupSidebar()

setupSidebar (   $action)
Here is the call graph for this function:
Here is the caller 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

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