function block_class_attributes in Block Class 5
Same name and namespace in other branches
- 6.2 block_class.module \block_class_attributes()
- 6 block_class.module \block_class_attributes()
2 calls to block_class_attributes()
File
- ./
block_class.module, line 24
Code
function block_class_attributes($block) {
$ret = db_fetch_object(db_query('SELECT css_class FROM {block_class} WHERE module = "%s" AND delta = "%s"', $block->module, $block->delta));
if ($ret !== FALSE) {
return $ret;
}
$undef = (object) NULL;
$undef->css_class = '';
return $undef;
}