You are here

function _privatemsg_list_header in Privatemsg 5

Same name and namespace in other branches
  1. 5.3 privatemsg.module \_privatemsg_list_header()
2 calls to _privatemsg_list_header()
privatemsg_list in ./privatemsg.module
theme_privatemsg_message_table in ./privatemsg.module

File

./privatemsg.module, line 782

Code

function _privatemsg_list_header($current_folder) {
  return array(
    array(),
    array(
      'data' => $current_folder == 1 ? t('To') : t('From'),
      'field' => 'name',
    ),
    array(
      'data' => t('Subject'),
      'field' => 'subject',
    ),
    array(
      'data' => t('Date'),
      'field' => 'timestamp',
      'sort' => 'desc',
    ),
  );
}