You are here

protected static function FeedImport::createHash in Feed Import 7.2

Same name and namespace in other branches
  1. 7 feed_import.inc.php \FeedImport::createHash()

Creates a hash using uniq, feed machine name and entity type

Parameters

string $uniq: Unique item

string $feed_machine: Feed machine name

string $entity: Entity name

Return value

string Hash value

1 call to FeedImport::createHash()
FeedImport::createEntity in ./feed_import.inc.php
Create Entity object

File

./feed_import.inc.php, line 449
Feed import class for parsing and processing content.

Class

FeedImport
@file Feed import class for parsing and processing content.

Code

protected static function createHash($uniq, $feed_machine, $entity) {
  return md5($uniq . '/' . $feed_machine . '/' . $entity);
}