You are here

function imce_process_fileop in IMCE 6

Same name and namespace in other branches
  1. 6.2 inc/imce.js.inc \imce_process_fileop()
  2. 7 inc/imce.js.inc \imce_process_fileop()

Process file operations form

3 calls to imce_process_fileop()
imce_js_delete in inc/js.inc
Ajax operation: delete
imce_js_resize in inc/js.inc
Ajax operation: resize
imce_js_thumb in inc/js.inc
Ajax operation: thumbnails

File

inc/js.inc, line 59

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']),
  );
}