function PARSECREATORS::parse in Bibliography Module 7.3
Same name and namespace in other branches
- 5 bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 6.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 6 bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 7 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 7.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
File
- plugins/
biblio_style/ bibtex/ PARSECREATORS.php, line 184
Class
Code
function parse($input, $type = 'author') {
$input = trim($input);
// split on ' and '
$authorArray = preg_split("/\\s(and|&)\\s/i", $input);
return $this
->parseArray($authorArray, $type);
}