Generic Function to add GROUP BY to a request
static public addHaving ( $LINK, $NOT, $itemtype, $ID, $searchtype, $val, $meta, $num ) : select | ||
$LINK | link to use | |
$NOT | is is a negative search ? | |
$itemtype | item type | |
$ID | ID of the item to search | |
$searchtype | search type ('contains' or 'equals') | |
$val | value search | |
$meta | is it a meta item ? | |
$num | item number | |
return | select | string |