[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/audio/ -> audio_image.inc (summary)

Audio Image Functions.

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

Defines 5 functions

  audio_image_type_clean_array()
  audio_image_type_dirty_array()
  audio_image_save_data()
  audio_image_validate_size()
  _audio_image_filename()

Functions
Functions that are not part of a class:

audio_image_type_clean_array($index = NULL)   X-Ref
Returns an array of all the different image types with "clean" descriptions.

param: $index
return:

audio_image_type_dirty_array($index = NULL)   X-Ref
Returns an array of all the different image types with "dirty" descriptions.

param: $index
return:

audio_image_save_data($basename, $data, $mimetype, $pictype)   X-Ref
Creates a temporary audio image from a variable.

The image is cropped to a square and then resized to the image size setting.

param: $basename
param: $data
param: $mimetype
param: $pictype
return:

audio_image_validate_size($file)   X-Ref
If the file is an image it will be resized to meet the audio image size
guidelines.

param: $file
return:

_audio_image_filename($prefix, $mimetype, $pictype = 0x03, $in_tempdir = FALSE)   X-Ref
Creates the image's filename in the form directory/prefix_imagetype.ext

param: $prefix
param: $mimetype
param: $pictype
param: $in_tempdir
return:



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7