public function HumanNameParser_Parser::__construct in Bibliography Module 6.2
Same name and namespace in other branches
- 7 includes/Parser.php \HumanNameParser_Parser::__construct()
File
- includes/
Parser.php, line 33
Class
- HumanNameParser_Parser
- Works with a Name object to parse out the parts of a name.
Code
public function __construct($name = NULL) {
$this->suffixes = array(
'esq',
'esquire',
'jr',
'sr',
'2',
'ii',
'iii',
'iv',
);
$this->prefixes = array(
'bar',
'ben',
'bin',
'da',
'dal',
'de la',
'de la Rue du',
'de',
'del',
'der',
'di',
'ibn',
'la',
'le',
'san',
'st',
'ste',
'van',
'van der',
'van den',
'vel',
'von',
);
$this
->setName($name);
}