public getSearchOptionIDByField ( $field, $value, $table = '' ) : then | ||
$field | the field in which looking for the value (for example : table, name, etc) | |
$value | the value to look for in the field | |
$table | the table (default '') | |
return | then | search option id, or -1 if not found |