function epub_load in Epub 6
Implementation of hook_load().
File
- ./
epub.module, line 258 - Provide ePub content type and enable the creation of ePub files from book contents.
Code
function epub_load($node) {
return db_fetch_object(db_query(db_rewrite_sql('SELECT n.title AS book_outline, e.bid, e.author_name, e.language_code, e.identifier, e.identifier_type, e.publisher_name,
e.publisher_site, e.creation_date, e.rights, e.source_url
FROM {epub} AS e
LEFT JOIN {node} AS n ON e.bid = n.nid
WHERE e.vid = %d'), $node->vid));
}