function _locale_translate_seek_query
Build array out of search criteria specified in request variables
Related topics
1 call to _locale_translate_seek_query()
- _locale_translate_seek in includes/
locale.inc - Perform a string search and display results in a table
File
-
includes/
locale.inc, line 1988
Code
function _locale_translate_seek_query() {
$query =& drupal_static(__FUNCTION__);
if (!isset($query)) {
$query = array();
$fields = array(
'string',
'language',
'translation',
'group',
);
foreach ($fields as $field) {
if (isset($_SESSION['locale_translation_filter'][$field])) {
$query[$field] = $_SESSION['locale_translation_filter'][$field];
}
}
}
return $query;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.