public function FeedImportSQLHashesv2Compatible::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 FeedImportSQLHashes::hash
File
- feed_import_base/
inc/ feed_import.inc, line 2070 - This file contains Feed Import helpers.
Class
- FeedImportSQLHashesv2Compatible
- This class implements SQL hash storage compatible with version 2.x
Code
public function hash(&$uniq) {
return $this->generatedHashes[] = md5($uniq . $this->hashPart);
}