You are here

public function PARSECREATORS::md5sum in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::md5sum()
  2. 6 bibtexParse/PARSECREATORS.php \PARSECREATORS::md5sum()
  3. 7.3 plugins/biblio_style/bibtex/PARSECREATORS.php \PARSECREATORS::md5sum()
  4. 7.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::md5sum()
1 call to PARSECREATORS::md5sum()
PARSECREATORS::parseAuthor in modules/bibtexParse/PARSECREATORS.php
Create writer arrays from bibtex input.

File

modules/bibtexParse/PARSECREATORS.php, line 278
Classes Creators and PARSECREATORS.

Class

PARSECREATORS
Released through http://bibliophile.sourceforge.net under the GPL licence. Do whatever you like with this -- some credit to the author(s) would be appreciated.

Code

public function md5sum($creator) {
  $string = $creator['firstname'] . $creator['initials'] . $creator['lastname'];
  $string = str_replace(' ', '', drupal_strtolower($string));
  return md5($string);
}