function rotor_load in Rotor Banner 5.7
Same name and namespace in other branches
- 5 rotor.module \rotor_load()
- 6 rotor.module \rotor_load()
Node Load hook
File
- ./
rotor.module, line 252 - A rotor banner consists in a set of images that will be changing. This module is made using jquery.
Code
function rotor_load($node) {
$additions = db_fetch_object(db_query('SELECT file_path AS rotor_image FROM {rotor_item} WHERE nid = %d', $node->nid));
return $additions;
}