function quotes_load in Quotes 5
Same name and namespace in other branches
- 6 quotes.module \quotes_load()
- 7 quotes.module \quotes_load()
Implementation of hook_load().
File
- ./
quotes.module, line 397
Code
function quotes_load($node) {
$obj = db_fetch_object(db_query("SELECT a.aid AS quotes_aid, a.name AS quotes_author, a.bio AS quotes_bio, q.citation AS quotes_citation, q.promote AS quotes_promote FROM {quotes} q JOIN {quotes_authors} a USING (aid) WHERE q.vid = %d", $node->vid));
return $obj;
}