function imageblock_get_file in Image Block 6
Same name and namespace in other branches
- 7 imageblock.module \imageblock_get_file()
Returns the file information for a give block ID.
3 calls to imageblock_get_file()
- imageblock_configure_form in ./
imageblock.module - imageblock_delete_block_form_submit in ./
imageblock.module - Deletion of image blocks.
- imageblock_save in ./
imageblock.module - Saves a user-created image block in the database.
File
- ./
imageblock.module, line 239 - imageblock.module Primarily Drupal hooks.
Code
function imageblock_get_file($bid) {
return db_fetch_object(db_query('SELECT f.* FROM {files} f INNER JOIN {imageblock} i ON f.fid = i.fid WHERE i.bid = %d', $bid));
}