function _fieldgroup_field_get_group in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 5 fieldgroup.module \_fieldgroup_field_get_group()
- 6.3 modules/fieldgroup/fieldgroup.module \_fieldgroup_field_get_group()
- 6.2 modules/fieldgroup/fieldgroup.module \_fieldgroup_field_get_group()
3 calls to _fieldgroup_field_get_group()
- content_add_more_js in includes/
content.node_form.inc - Menu callback for AHAH addition of new empty widgets.
- fieldgroup_form_alter in modules/
fieldgroup/ fieldgroup.module - fieldgroup_update_fields in modules/
fieldgroup/ fieldgroup.module
File
- modules/
fieldgroup/ fieldgroup.module, line 295 - Create field groups for CCK fields.
Code
function _fieldgroup_field_get_group($content_type, $field_name) {
return db_result(db_query("SELECT group_name FROM {" . fieldgroup_fields_tablename() . "} WHERE type_name = '%s' AND field_name = '%s'", $content_type, $field_name));
}