function imce_process_fileop in IMCE 7
Same name and namespace in other branches
- 6.2 inc/imce.js.inc \imce_process_fileop()
- 6 inc/js.inc \imce_process_fileop()
Process file operations form.
3 calls to imce_process_fileop()
- imce_js_delete in inc/
imce.js.inc - Ajax operation: delete.
- imce_js_resize in inc/
imce.js.inc - Ajax operation: resize.
- imce_js_thumb in inc/
imce.js.inc - Ajax operation: thumbnails.
File
- inc/
imce.js.inc, line 64 - Handles ajax file operations.
Code
function imce_process_fileop(&$imce) {
drupal_get_form('imce_fileop_form', array(
'imce' => &$imce,
));
return array(
'added' => isset($imce['added']) ? $imce['added'] : NULL,
'removed' => isset($imce['removed']) ? $imce['removed'] : NULL,
'dirsize' => format_size($imce['dirsize']),
);
}