Beispiel #1
0
 public static function doCount(Criteria $criteria, $distinct = false, PropelPDO $con = null)
 {
     $c = clone $criteria;
     if ($c instanceof KalturaCriteria) {
         $c->applyFilters();
     }
     return parent::doCount($c, $con);
 }
 public static function doCount(Criteria $criteria, $distinct = false, PropelPDO $con = null)
 {
     $c = clone $criteria;
     // since we use advaned filter for this object, it must be kalturaCriteria.
     if ($c instanceof KalturaCriteria) {
         $c->applyFilters();
     }
     return parent::doCount($c, $con);
 }
Beispiel #3
0
 /**
  * Clear the instance pool.
  *
  * @return     void
  */
 public static function clearInstancePool()
 {
     foreach (self::$instances as $instance) {
         $instance->clearAllReferences(false);
     }
     self::$instances = array();
 }