[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/filefield/ -> filefield_formatter.inc (summary)

(no description)

File Size: 136 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  theme_filefield_formatter_default()
  theme_filefield_formatter_path_plain()
  theme_filefield_formatter_url_plain()
  theme_filefield_item()
  filefield_file_listed()
  theme_filefield_file()

Functions
Functions that are not part of a class:

theme_filefield_formatter_default($element)   X-Ref
Theme function for the 'default' filefield formatter.


theme_filefield_formatter_path_plain($element)   X-Ref
Theme function for the 'path_plain' formatter.


theme_filefield_formatter_url_plain($element)   X-Ref
Theme function for the 'url_plain' formatter.


theme_filefield_item($file, $field)   X-Ref
Theme function for any file that is managed by FileField.

It doesn't really format stuff by itself but rather redirects to other
formatters that are telling us they want to handle the concerned file.

This function checks if the file may be shown and returns an empty string
if viewing the file is not allowed for any reason. If you need to display it
in any case, please use theme('filefield_file') instead.

filefield_file_listed($file, $field)   X-Ref
Return whether a file should be listed when viewing the node.

param: $file
param: $field

theme_filefield_file($file)   X-Ref
Theme function for the 'generic' single file formatter.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7