/**
  * The returned array will contain objects of the default type or
  * objects that inherit from the default.
  *
  * @throws     PropelException Any exceptions caught during processing will be
  *       rethrown wrapped into a PropelException.
  */
 public static function populateObjects(ResultSet $rs)
 {
     $results = array();
     // set the class once to avoid overhead in the loop
     $cls = ProcessUserPeer::getOMClass();
     $cls = Propel::import($cls);
     // populate the object(s)
     while ($rs->next()) {
         $obj = new $cls();
         $obj->hydrate($rs);
         $results[] = $obj;
     }
     return $results;
 }