Exemplo n.º 1
0
 /**
  * Returns the default criteria filter
  *
  * @return     criteriaFilter The default criteria filter.
  */
 public static function &getCriteriaFilter()
 {
     if (self::$s_criteria_filter == null) {
         moderationPeer::setDefaultCriteriaFilter();
     }
     $partnerCriteria = myPartnerUtils::getPartnerCriteriaParams('moderation');
     if ($partnerCriteria) {
         call_user_func_array(array('moderationPeer', 'addPartnerToCriteria'), $partnerCriteria);
     }
     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) {
         moderationPeer::setDefaultCriteriaFilter();
     }
     return self::$s_criteria_filter;
 }