This documentation is for the old version. Go to the latest Upload Suite docs

ConvertedFile.Mode Property

Gets a conversion mode actually applied to this converted file.

Syntax

PHP
public function getMode() {
}

Property Value

Type: string

The mode of this converted file. Possible values are:

  • sourceFile - means that this converted file is a copy of the original file.
  • thumbnail - means that this converted file is a resized copy of the original file if it is an image.
  • icon - means that this converted file is a system icon associated with the original file type.
  • zip - means that this converted file is a ZIP archive of the original file.
  • none - means that this converted file was not created.

See Also

Reference