/src/read_body.php

Description

read_body.php

This file is used for reading the msgs array and displaying the resulting emails in the right frame.

Includes
require ('../include/init.php') (line 21)

Include the SquirrelMail initialization file.

require_once (SM_PATH.'functions/identity.php') (line 29)
require_once (SM_PATH.'functions/mime.php') (line 26)
require_once (SM_PATH.'functions/forms.php') (line 31)
require_once (SM_PATH.'functions/compose.php') (line 33)
require_once (SM_PATH.'functions/date.php') (line 27)
require_once (SM_PATH.'functions/imap.php') (line 24)
require_once (SM_PATH.'functions/url_parser.php') (line 28)
Functions
findNextMessage (line 42)

Given an IMAP message id number, this will look it up in the cached and sorted msgs array and return the index of the next message

  • return: index of the next valid message from the array
the findNextMessage ( $uidset, [int $passed_id = 'backwards'])
  • int $passed_id: The current message UID
  • $uidset
findPreviousMessage (line 65)

Given an IMAP message id number, this will look it up in the cached and sorted msgs array and return the index of the previous message

  • return: index of the next valid message from the array
the findPreviousMessage ( $uidset, int $passed_id)
  • int $passed_id: The current message UID
  • $uidset
formatEnvheader (line 376)
void formatEnvheader ( $aMailbox,  $passed_id,  $passed_ent_id,  $message,  $color,  $FirstTimeSee)
  • $aMailbox
  • $passed_id
  • $passed_ent_id
  • $message
  • $color
  • $FirstTimeSee
formatMenubar (line 474)

Format message toolbar

void formatMenubar (array $aMailbox, int $passed_id, int $passed_ent_id, object $message, [void $removedVar = FALSE], [boolean $nav_on_top = TRUE])
  • array $aMailbox: Current mailbox information array
  • int $passed_id: UID of current message
  • int $passed_ent_id: Id of entity within message
  • object $message: Current message object
  • void $removedVar: This parameter is no longer used, but remains so as not to break this function's prototype (OPTIONAL)
  • boolean $nav_on_top: When TRUE, the menubar is being constructed for use at the top of the page, otherwise it will be used for page bottom (OPTIONAL; default = TRUE)
formatRecipientString (line 325)
void formatRecipientString ( $recipients,  $item)
  • $recipients
  • $item
formatToolbar (line 711)
void formatToolbar ( $mailbox,  $passed_id,  $passed_ent_id,  $message,  $color)
  • $mailbox
  • $passed_id
  • $passed_ent_id
  • $message
  • $color
html_toggle_href (line 77)
void html_toggle_href ( $mailbox,  $passed_id,  $passed_ent_id,  $message)
  • $mailbox
  • $passed_id
  • $passed_ent_id
  • $message
SendMDN (line 130)
void SendMDN ( $mailbox,  $passed_id,  $message,  $imapConnection)
  • $mailbox
  • $passed_id
  • $message
  • $imapConnection
ServerMDNSupport (line 124)
void ServerMDNSupport ( $aFlags)
  • $aFlags
ToggleMDNflag (line 318)
void ToggleMDNflag ( $set,  $imapConnection,  $mailbox,  $passed_id)
  • $set
  • $imapConnection
  • $mailbox
  • $passed_id

Documentation generated on Fri, 28 Nov 2014 04:19:10 +0100 by phpDocumentor 1.4.3