/** * Returns the default criteria filter * * @return criteriaFilter The default criteria filter. */ public static function &getCriteriaFilter() { if (self::$s_criteria_filter == null) { ApiServerPeer::setDefaultCriteriaFilter(); } $partnerCriteria = myPartnerUtils::getPartnerCriteriaParams('ApiServer'); if ($partnerCriteria) { call_user_func_array(array('ApiServerPeer', 'addPartnerToCriteria'), $partnerCriteria); } return self::$s_criteria_filter; }