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