Clean all infos which match some criteria
public deleteByCriteria ( $crit = [], $force, $history = 1 ) | ||
$crit | array of criteria (ex array('is_active'=>'1')) | |
$force | boolean force purge not on put in dustbin (default 0) | |
$history | boolean do history log ? (true by default) |