function patron_load in Library 5.2
Same name and namespace in other branches
- 6 patron/patron.module \patron_load()
Implemenation of hook_load().
File
- patron/
patron.module, line 202
Code
function patron_load($node) {
$additions = db_fetch_object(db_query("SELECT * FROM {library_patrons} WHERE nid = %d", $node->nid));
return $additions;
}