- Code: Select all
$tableColumns['id'] = array('display_text' => 'ID', 'perms' => 'ETVQSFXO');
$tableColumns['file_name'] = array('display_text' => 'Image', 'perms' => 'EVCAXTQSFHO',
'file_upload' => array('upload_fun' => array(&$this,'handleUpload')),
'table_fun' => array(&$this,'formatImage'), 'view_fun' => array(&$this,'formatImage')
);
Does not work. There seems to be a problem in building the $sets array. It seems to only work if there is another column in the table.