public function Creators::getCreatorByName in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/bibtexParse/PARSECREATORS.php \Creators::getCreatorByName()
- 6 bibtexParse/PARSECREATORS.php \Creators::getCreatorByName()
- 7.3 plugins/biblio_style/bibtex/PARSECREATORS.php \Creators::getCreatorByName()
- 7.2 modules/bibtexParse/PARSECREATORS.php \Creators::getCreatorByName()
File
- modules/
bibtexParse/ PARSECREATORS.php, line 44 - Classes Creators and PARSECREATORS.
Class
Code
public function getCreatorByName($name) {
// [[:<:]], [[:>:]] These stand for word boundaries; see biblio.pages.inc.
$result = db_query('SELECT *
FROM {biblio_contributor_data}
WHERE lastname RLIKE :lastname', array(
'lastname' => '[[:<:]]' . preg_quote($name) . '[[:>:]]',
));
}