Generic Function to add where to a request
static public addWhere ( $link, $nott, $itemtype, $ID, $searchtype, $val, $meta ) : select | ||
$link | link string | |
$nott | is it a negative search ? | |
$itemtype | item type | |
$ID | ID of the item to search | |
$searchtype | searchtype used (equals or contains) | |
$val | item num in the request | |
$meta | is a meta search (meta=2 in search.class.php) (default 0) | |
return | select | string |