/** * the filterCriteria will filter out all the doSelect methods - ONLY if the filter is turned on. * IMPORTANT - the filter is turend on by default and when switched off - should be turned on again manually . * * @param Criteria $criteria The Criteria object used to build the SELECT statement. */ protected static function attachCriteriaFilter(Criteria $criteria) { DrmPolicyPeer::getCriteriaFilter()->applyFilter($criteria); }