function privatemsg_get_enabled_headers

7-2 privatemsg.module privatemsg_get_enabled_headers()
6-2 privatemsg.module privatemsg_get_enabled_headers()

Returns an array of enabled header keys.

Return value

A indexed array with the header keys as value, ordered by their weight.

3 calls to privatemsg_get_enabled_headers()
privatemsg_filter_form_privatemsg_list_alter in privatemsg_filter/privatemsg_filter.module
Implements hook_form_FORM_ID_alter() to add a filter widget to the message listing pages.
privatemsg_sql_list in ./privatemsg.module
Query definition to load a list of threads.
_privatemsg_list_thread in ./privatemsg.module
Formats all rows (#options) in the privatemsg tableselect thread list.

File

./privatemsg.module, line 3304
Allows users to send private messages to other users.

Code

function privatemsg_get_enabled_headers() {
  return array_keys(privatemsg_get_headers(TRUE));
}