function PARSECREATORS::parse in Bibliography Module 6
Same name and namespace in other branches
- 5 bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 6.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 7.3 plugins/biblio_style/bibtex/PARSECREATORS.php \PARSECREATORS::parse()
- 7 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
- 7.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
File
- bibtexParse/
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);
}