function _privatemsg_list_headers_fallback in Privatemsg 6
Table header definition for themes that don't support theme patterns.
Return value
Array with the correct headers.
1 call to _privatemsg_list_headers_fallback()
- _privatemsg_list_headers in ./
privatemsg.module - Returns a table header definition based on the submitted keys.
File
- ./
privatemsg.module, line 2283 - Allows users to send private messages to other users.
Code
function _privatemsg_list_headers_fallback($keys) {
$header = array();
foreach ($keys as $key) {
$theme_function = 'phptemplate_privatemsg_list_header__' . $key;
if (function_exists($theme_function)) {
$header[$key] = $theme_function();
}
}
return $header;
}