You are here

protected static function FeedImport::createHash in Feed Import 7

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

Creates a hash using uniq and feed source name

Parameters

string $uniq: Unique item

int $feed_id: Feed id

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 427
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_id, $entity) {
  return md5($uniq . '-|-' . $feed_id . '-|-' . $entity);
}