function filefield_field_settings_database_columns in FileField 6.3
Implementation of CCK's hook_field_settings($op = 'database_columns').
File
- ./
filefield_field.inc, line 50 - FileField CCK field hooks and callbacks.
Code
function filefield_field_settings_database_columns($field) {
return array(
'fid' => array(
'type' => 'int',
'not null' => FALSE,
'views' => TRUE,
),
'list' => array(
'type' => 'int',
'size' => 'tiny',
'not null' => FALSE,
'views' => TRUE,
),
'data' => array(
'type' => 'text',
'serialize' => TRUE,
'views' => TRUE,
),
);
}