/**
  * Adds the supplied object array to the instance pool.
  *  
  * @param      array $queryResult The array of objects to add to pool.
  */
 public static function addInstancesToPool($queryResult)
 {
     foreach ($queryResult as $curResult) {
         DwhHourlyPartnerPeer::addInstanceToPool($curResult);
     }
 }
 /**
  * Adds the supplied object array to the instance pool.
  *  
  * @param      array $queryResult The array of objects to add to pool.
  */
 public static function addInstancesToPool($queryResult)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if (count(self::$instances) + count($queryResult) <= kConf::get('max_num_instances_in_pool')) {
             foreach ($queryResult as $curResult) {
                 DwhHourlyPartnerPeer::addInstanceToPool($curResult);
             }
         }
     }
 }