function filefield_field in FileField 6.3
Same name and namespace in other branches
- 5.2 filefield.module \filefield_field()
- 5 filefield.module \filefield_field()
- 6.2 filefield.module \filefield_field()
Implementation of CCK's hook_field().
1 string reference to 'filefield_field'
- filefield_field_settings in ./
filefield.module - Implementation of hook_field_settings().
File
- ./
filefield.module, line 301 - FileField: Defines a CCK file field type.
Code
function filefield_field($op, $node, $field, &$items, $teaser, $page) {
module_load_include('inc', 'filefield', 'filefield_field');
$op = str_replace(' ', '_', $op);
// add filefield specific handlers...
$function = 'filefield_field_' . $op;
if (function_exists($function)) {
return $function($node, $field, $items, $teaser, $page);
}
}