/functions/template/message_list_util.php

Description

message_list_util.php

Helper functions for message list templates.

The following functions are utility functions for templates. Do not echo output in these functions.

Functions
calcMessageListColumnWidth (line 22)
array calcMessageListColumnWidth (array $aOrder)
  • array $aOrder
getAttachmentIcon (line 246)

Function to retrieve correct attchment icon based on user prefs

  • return: full HTML img tag or text icon, depending on of user prefs
  • author: Steve Brown
string getAttachmentIcon (boolean $attach, string $icon_theme_path)
  • boolean $attach: TRUE if the message has an attachment
  • string $icon_theme_path: path to user's currently selected icon theme.
getFlagIcon (line 84)

Function to retrieve correct icon based on provided message flags. This is a merge/replacement for getFlagIcon() and getFlagText() functions.

  • return: full HTML img tag or text icon, depending on of user prefs
  • author: Steve Brown
string getFlagIcon (array $aFlags, string $icon_theme_path)
  • array $aFlags: associative array with seen,deleted,anwered and flag keys.
  • string $icon_theme_path: path to user's currently selected icon theme.
getPriorityIcon (line 218)

Function to retrieve correct priority icon based on user prefs

  • return: full HTML img tag or text icon, depending on of user prefs
  • author: Steve Brown
string getPriorityIcon (integer $priority, string $icon_theme_path)
  • integer $priority: priority value of message
  • string $icon_theme_path: path to user's currently selected icon theme.

Documentation generated on Mon, 13 Jan 2020 04:23:06 +0100 by phpDocumentor 1.4.3