src/wcmf/lib/persistence/impl/DefaultTransaction.php
protected function processUpdates() {
    $updatedOids = [];
    $updateOids = array_keys($this->dirtyObjects);
    while (sizeof($updateOids) > 0) {
      $key = array_shift($updateOids);
      if (self::$isDebugEnabled) {
        self::$logger->debug("Process update on object: ".$key);
      }
      $object = $this->dirtyObjects[$key];
      $object->getMapper()->save($object);
      unset($this->dirtyObjects[$key]);
      $updatedOids[] = $key;
      $updateOids = array_keys($this->dirtyObjects);
    }
    return $updatedOids;
  }
protected function processUpdates() {
    $updatedOids = [];
    $updateOids = array_keys($this->dirtyObjects);
    while (sizeof($updateOids) > 0) {
      $key = array_shift($updateOids);
      if (self::$isDebugEnabled) {
        self::$logger->debug("Process update on object: ".$key);
      }
      $object = $this->dirtyObjects[$key];
      $object->getMapper()->save($object);
      unset($this->dirtyObjects[$key]);
      $updatedOids[] = $key;
      $updateOids = array_keys($this->dirtyObjects);
    }
    return $updatedOids;
  }
protected function processUpdates ( ) { $ updatedOids = [ ] ; $ updateOids = array_keys ( $ this -> dirtyObjects ) ; while ( sizeof ( $ updateOids ) > 0 ) { $ key = array_shift ( $ updateOids ) ; if ( self :: $ isDebugEnabled ) { self :: $ logger -> debug ( "Process update on object: " . $ key ) ; } $ object = $ this -> dirtyObjects [ $ key ] ; $ object -> getMapper ( ) -> save ( $ object ) ; unset ( $ this -> dirtyObjects [ $ key ] ) ; $ updatedOids [ ] = $ key ; $ updateOids = array_keys ( $ this -> dirtyObjects ) ; } return $ updatedOids ; }
Process the dirty objects queue
@return Array of oid strings of updated objects
Process the dirty objects queue