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