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