$searchQuery = '';
if (isset($_REQUEST['q']) && is_string($_REQUEST['q']))
$searchQuery = trim($_REQUEST['q']);
if ($searchQuery !== '')
{
$searchFilter = array(
'*SEARCHABLE_CONTENT' => $searchQuery
);
}
"FILTER_NAME" => $searchFilter,
$searchFilter = array(
'*SEARCHABLE_CONTENT' => $searchQuery
);
"FILTER_NAME" => $searchFilter
"FILTER_NAME" => 'searchFilter'
$GLOBALS['searchFilter'] = array( '%SEARCHABLE_CONTENT' => $searchQuery, );