You are here

function _auditfiles_not_on_server_get_header in Audit Files 7.4

Same name and namespace in other branches
  1. 7.3 auditfiles.notonserver.inc \_auditfiles_not_on_server_get_header()

Returns the header to use for the display table.

Return value

array The header to use.

2 calls to _auditfiles_not_on_server_get_header()
auditfiles_not_on_server_form in ./auditfiles.notonserver.inc
Generates the report.
_auditfiles_not_on_server_get_file_list in ./auditfiles.notonserver.inc
Retrieves the file IDs to operate on.

File

./auditfiles.notonserver.inc, line 635
Generates a report showing files in the database, but not on the server.

Code

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