function block_box_get in Drupal 5
Same name and namespace in other branches
- 4 modules/block.module \block_box_get()
- 6 modules/block/block.module \block_box_get()
2 calls to block_box_get()
- block_block in modules/
block/ block.module - Implementation of hook_block().
- block_box_delete in modules/
block/ block.module - Menu callback; confirm deletion of custom blocks.
File
- modules/
block/ block.module, line 360 - Controls the boxes that are displayed around the main content.
Code
function block_box_get($bid) {
return db_fetch_array(db_query("SELECT * FROM {boxes} WHERE bid = %d", $bid));
}