ElementCriteriaModel exclude list of ids
This should do the trick:

$idList = [1, 2, 3, 4];
$criteria-&gt;id = 'and, not ' . implode(', not ', $idList);


In plain text, the id property would then look like this:

'and, not 1, not 2, not 3, not 4'


The syntax may look a little odd, but it essentially makes Craft compile an SQL query with an AND (elements.id!=$elementId) statement for each ID you want to exclude.