[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

(no description)

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

Defines 4 functions

  _filefield_content_generate()
  _filefield_generate_file()
  _filefield_generate_textfile()
  _filefield_generate_image()

Functions
Functions that are not part of a class:

_filefield_content_generate($node, $field)   X-Ref
Private function used by filefield_content_generate().


_filefield_generate_file($field)   X-Ref
Generate an image based on the properties of a field.

This is made to work with ImageField, and inspects the minimum and maximum
image sizes and makes sure the generated image matches the requirements.

return:

_filefield_generate_textfile($filesize = 1024)   X-Ref
Private function for generating a random text file.


_filefield_generate_image($extension = 'png', $min_resolution, $max_resolution)   X-Ref
Private function for creating a random image.

This function only works with the GD toolkit. ImageMagick is not supported.



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