You are here

function _auditfiles_managed_not_used_get_header in Audit Files 7.4

Same name and namespace in other branches
  1. 7.3 auditfiles.managednotused.inc \_auditfiles_managed_not_used_get_header()

Returns the header to use for the display table.

Return value

array The header to use.

2 calls to _auditfiles_managed_not_used_get_header()
auditfiles_managed_not_used_form in ./auditfiles.managednotused.inc
Generates the report.
_auditfiles_managed_not_used_get_file_list in ./auditfiles.managednotused.inc
Retrieves the file IDs to operate on.

File

./auditfiles.managednotused.inc, line 615
Generates a report showing files in file_managed, but not in file_usage.

Code

function _auditfiles_managed_not_used_get_header() {
  return array(
    'fid' => array(
      'data' => t('File ID'),
      'field' => 'fm.fid',
    ),
    'uid' => array(
      'data' => t('User ID'),
      'field' => 'fm.uid',
    ),
    'filename' => array(
      'data' => t('Name'),
      'field' => 'fm.filename',
    ),
    'uri' => array(
      'data' => t('URI'),
      'field' => 'fm.uri',
    ),
    'path' => array(
      'data' => t('Path'),
      'field' => 'fm.uri',
    ),
    'filemime' => array(
      'data' => t('MIME'),
      'field' => 'fm.filemime',
    ),
    'filesize' => array(
      'data' => t('Size'),
      'field' => 'fm.filesize',
    ),
    'datetime' => array(
      'data' => t('When added'),
      'field' => 'fm.timestamp',
    ),
    'status' => array(
      'data' => t('Status'),
      'field' => 'fm.status',
    ),
  );
}