public function Creators::loadCreators in Bibliography Module 6
Same name and namespace in other branches
- 6.2 modules/bibtexParse/PARSECREATORS.php \Creators::loadCreators()
- 7.3 plugins/biblio_style/bibtex/PARSECREATORS.php \Creators::loadCreators()
- 7 modules/bibtexParse/PARSECREATORS.php \Creators::loadCreators()
- 7.2 modules/bibtexParse/PARSECREATORS.php \Creators::loadCreators()
1 call to Creators::loadCreators()
- Creators::Creators in bibtexParse/
PARSECREATORS.php
File
- bibtexParse/
PARSECREATORS.php, line 64
Class
Code
public function loadCreators($vid) {
$query = 'SELECT bcd.lastname, bcd.firstname, bcd.initials,
bcd.affiliation, bct.type, bc.rank
FROM {biblio_contributor} bc,
{biblio_contributor_data} bcd,
{biblio_contributor_type} bct
WHERE bc.vid = %d
AND bc.cid = bcd.cid
AND bc.ctid = bct.ctid
ORDER BY bc.ctid ASC, bc.rank ASC;';
$result = db_query($query, array(
$vid,
));
while ($creator = db_fetch_array($result)) {
$this->authors[] = $creator;
}
}