public function PARSECREATORS::parse in Bibliography Module 7
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.3 plugins/biblio_style/bibtex/PARSECREATORS.php \PARSECREATORS::parse()
- 7.2 modules/bibtexParse/PARSECREATORS.php \PARSECREATORS::parse()
File
- modules/
bibtexParse/ PARSECREATORS.php, line 202 - 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 parse($input, $type = 'author') {
$input = trim($input);
// Split on ' and '.
$authorArray = preg_split("/\\s(and|&)\\s/i", $input);
return $this
->parseArray($authorArray, $type);
}