Stud.IP  5.4
MessagesController Class Reference
Inheritance diagram for MessagesController:
AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 overview_action ($message_id=null)
 
 sent_action ($message_id=null)
 
 more_action ()
 
 read_action ($message_id, $mbox='rec')
 
 write_action ()
 
 send_action ()
 
 tag_action ($message_id)
 
 print_action ($message_id)
 
 delete_action ($message_id, $mbox='rec')
 
 purge_action ($sndrec)
 
 upload_attachment_action ()
 
 delete_attachment_action ()
 
 delete_tag_action ()
 
 sendCwMessage_action ($course_id, $element_id, $owner_id)
 
 setupSidebar ($action)
 
- Public Member Functions inherited from AuthenticatedController
 before_filter (&$action, &$args)
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 erase_response ()
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to='')
 
 link_for ($to='')
 
 redirect ($to)
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter=';', $enclosure='"')
 
 render_file ( $file, $filename=null, $content_type=null, $content_disposition='attachment', Closure $callback=null, $chunk_size=262144)
 
 render_temporary_file ( $file, $filename=null, $content_type=null, $content_disposition='attachment', Closure $callback=null, $chunk_size=262144)
 
 render_form (\Studip\Forms\Form $form)
 
 relay ($to_uri)
 
 relayWithRedirect (... $args)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 
 validate_datetime ($datetime, $format='H:i')
 
 render_spreadsheet (array $header, array $data, string $format, string $filename, ?string $filepath=null)
 

Protected Member Functions

 deleteMessage ($message_id, $mbox)
 
 getMessages ($received=true, $limit=50, $offset=0, $tag=null, $search=null)
 
- Protected Member Functions inherited from AuthenticatedController
 keepRequest ()
 
- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 
 getBodyElementIdForControllerAndAction ($unconsumed_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 
)

◆ delete_action()

delete_action (   $message_id,
  $mbox = 'rec' 
)

◆ delete_attachment_action()

delete_attachment_action ( )

◆ delete_tag_action()

delete_tag_action ( )

◆ deleteMessage()

deleteMessage (   $message_id,
  $mbox 
)
protected

◆ getMessages()

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

◆ more_action()

more_action ( )

◆ overview_action()

overview_action (   $message_id = null)

◆ print_action()

print_action (   $message_id)

◆ purge_action()

purge_action (   $sndrec)

◆ read_action()

read_action (   $message_id,
  $mbox = 'rec' 
)

◆ send_action()

send_action ( )

Sends a message and redirects the user.

◆ sendCwMessage_action()

sendCwMessage_action (   $course_id,
  $element_id,
  $owner_id 
)

◆ sent_action()

sent_action (   $message_id = null)

◆ setupSidebar()

setupSidebar (   $action)

◆ tag_action()

tag_action (   $message_id)

◆ upload_attachment_action()

upload_attachment_action ( )

◆ write_action()

write_action ( )

Lets the user compose a message and send it.

Field Documentation

◆ $number_of_displayed_messages

$number_of_displayed_messages = 50
protected

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