function views_handler_field_upload_fid::document_self_tokens in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 modules/upload/views_handler_field_upload_fid.inc \views_handler_field_upload_fid::document_self_tokens()
Document any special tokens this field might use for itself.
Overrides views_handler_field::document_self_tokens
See also
add_self_tokens() for details.
File
- modules/
upload/ views_handler_field_upload_fid.inc, line 66
Class
- views_handler_field_upload_fid
- Field handler to provide a list of roles.
Code
function document_self_tokens(&$tokens) {
$tokens['[' . $this->options['id'] . '-fid' . ']'] = t('The file ID for the file.');
$tokens['[' . $this->options['id'] . '-name' . ']'] = t('The name of the attached file.');
$tokens['[' . $this->options['id'] . '-type' . ']'] = t('The MIME type of the attached file.');
$tokens['[' . $this->options['id'] . '-description' . ']'] = t('The name of the attached file.');
$tokens['[' . $this->options['id'] . '-path' . ']'] = t('The path of the attached file.');
$tokens['[' . $this->options['id'] . '-url' . ']'] = t('The url of the attached file.');
$tokens['[' . $this->options['id'] . '-size' . ']'] = t('The size of the attached file.');
}