Translations:Developers/Conditions for searching/8/en

This code block would search for all products whose ID is in the list of IDs and which has a modification time later than begin of 2012. The result would also be limited by the default conditions (which are filtering by "product.status", "product.datestart" and "product.dateend") because of the "true" parameter in the createSearch call and the $search->getConditions as first expression.