| Versionen | |
|---|---|
| drupal6 – drupal7 | block_box_get($bid) |
Returns information from database about a user-created (custom) block.
$bid ID of the block to get information for.
Associative array of information stored in the database for this block. Array keys:
modules/
<?php
function block_box_get($bid) {
return db_fetch_array(db_query("SELECT * FROM {boxes} WHERE bid = %d", $bid));
}
?>
Kommentare
Kommentar hinzufügen