src/wcmf/lib/persistence/impl/RemoteCapablePersistenceFacade.php
protected function makeUmis($oids, $umiPrefix) {
    $result = [];
    foreach ($oids as $oid) {
      if (strlen($oid->getPrefix()) == 0) {
        $umi = new ObjectId($oid->getType(), $oid->getId(), $umiPrefix);
        $result[] = $umi;
      }
    }
    return $result;
  }
protected function makeUmis($oids, $umiPrefix) {
    $result = [];
    foreach ($oids as $oid) {
      if (strlen($oid->getPrefix()) == 0) {
        $umi = new ObjectId($oid->getType(), $oid->getId(), $umiPrefix);
        $result[] = $umi;
      }
    }
    return $result;
  }
protected function makeUmis ( $ oids , $ umiPrefix ) { $ result = [ ] ; foreach ( $ oids as $ oid ) { if ( strlen ( $ oid -> getPrefix ( ) ) == 0 ) { $ umi = new ObjectId ( $ oid -> getType ( ) , $ oid -> getId ( ) , $ umiPrefix ) ; $ result [ ] = $ umi ; } } return $ result ; }
Replace all object ids in an array with the umis according to
the given umiPrefix.
@param $oids The array of oids
@param $umiPrefix The umi prefix
@return The array of umis
Replace all object ids in an array with the umis according to the given umiPrefix .