You are here

public function FeedImportSQLHashes::hash in Feed Import 7.3

Creates a hash, based on uniq Also adds it on generated hashes

Parameters

mixed $uniq: Unique identifier.

Return value

string A hash for specified identifier.

Overrides FeedImportHashManager::hash

1 method overrides FeedImportSQLHashes::hash()
FeedImportSQLHashesv2Compatible::hash in feed_import_base/inc/feed_import.inc
Creates a hash, based on uniq Also adds it on generated hashes

File

feed_import_base/inc/feed_import.inc, line 1842
This file contains Feed Import helpers.

Class

FeedImportSQLHashes
This class implements SQL hash storage

Code

public function hash(&$uniq) {
  return $this->generatedHashes[] = md5($uniq);
}