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

PHP API Changes between Versions 1 and 7

AllFilesEnumerator Class

The AllFilesEnumerator class is eliminated. Use the UploadHandler class instead; for more information see the Saving Uploaded Files in PHP topic.

CommonDialog Class

Properties

Old Member New Member
public property CommonDialog.CancelButton CommonDialog.CancelButtonText
public property CommonDialog.OkButton CommonDialog.OkButtonText

FileInfo Class

The FileInfo class is renamed to ConvertedFile.

Properties

Old Member New Member
public property new property The ConvertedFile.FileContent property gets content of this converted file represented by a string.
public property FileInfo.Height ConvertedFile.Height
public property FileInfo.Mode ConvertedFile.Mode
public property FileInfo.Name ConvertedFile.Name
public property FileInfo.Size ConvertedFile.Size
public property FileInfo.Width ConvertedFile.Width

Methods

Old Member New Member
public method FileInfo.SaveAs Eliminated. Use the ConvertedFile.moveTo(string) method instead.

ImagePreviewWindow Class

Properties

Old Member New Member
public property ImagePreviewWindow.ClosePreviewToolTip ImagePreviewWindow.ClosePreviewTooltip

ImageUploaderFlash Class

Properties

Old Member New Member
public property ImageUploaderFlash.DebugScriptMode The DebugScriptMode property is totally updated; now it means a debug mode which will be used to display messages if the DebugScriptLevel is greater than 0.
public property ImageUploaderFlash.ListView ImageUploaderFlash.UploadPane
public property ImageUploaderFlash.StatusPanel ImageUploaderFlash.StatusPane
public property ImageUploaderFlash.TopPanel ImageUploaderFlash.TopPane

ListView Class

ListView is replaced with the UploadPane and PaneItem classes.

Properties

Old Member New Member
public property ListView.AddFilesButton UploadPane.AddFilesButtonText
public property ListView.DescriptionIconToolTip PaneItem.DescriptionEditorIconTooltip
public property ListView.EnableDescription ImageUploaderFlash.EnableDescriptionEditor
public property ListView.EnableImageRotation ImageUploaderFlash.EnableRotation
public property ListView.IconItemWidth UploadPane.IconItemWidth
public property ListView.IconSize UploadPane.IconSize
public property ListView.ImageToolTip PaneItem.ImageTooltip
public property ListView.ItemToolTip PaneItem.ItemTooltip
public property ListView.RemoveIconToolTip PaneItem.RemovalIconTooltip
public property ListView.RotateIconToolTip PaneItem.RotationIconTooltip
public property ListView.ThumbnailPreviewSize UploadPane.ThumbnailPreviewSize
public property ListView.TileItemWidth UploadPane.TileItemWidth
public property ListView.TilePreviewSize UploadPane.TilePreviewSize
public property ListView.View UploadPane.ViewMode

Messages Class

Properties

Old Member New Member
public property Messages.CannotReadFileError Messages.CannotReadFile
public property Messages.FileTooLargeError Messages.MaxFileSizeExceeded
public property Messages.FileTooSmallError Messages.FileSizeTooSmall
public property Messages.ImageHeightTooLargeError Eliminated. Use Messages.DimensionsTooLarge instead.
public property Messages.ImageHeightTooSmallError Eliminated. Use Messages.DimensionsTooSmall instead.
public property Messages.ImageWidthTooLargeError Eliminated. Use Messages.DimensionsTooLarge instead.
public property Messages.ImageWidthTooSmallError Eliminated. Use Messages.DimensionsTooSmall instead.
public property Messages.NotAllFilesWereAddedError Messages.FilesNotAdded
public property Messages.PreviewNotAvailableError Messages.PreviewNotAvailable
public property Messages.TooFewFilesError Messages.TooFewFiles
public property Messages.TooManyFilesError Messages.MaxFileCountExceeded
public property Messages.TotalFileSizeTooLargeError Messages.MaxTotalFileSizeExceeded

PackageFilesEnumerator Class

The PackageFilesEnumerator class is eliminated. Use the Package.UploadedFiles property instead; see the Saving Uploaded Files in PHP topic.

PostFields Class

Fields

Old Member New Member
public fieldstatic method PostFields.SourceXResolution PostFields.HorizontalResolution
public fieldstatic method PostFields.SourceYResolution PostFields.VerticalResolution

Restrictions Class

Properties

Old Member New Member
public property Restrictions.FileFilters Restrictions.FileMask
public property Restrictions.MaxTotalSize Restrictions.MaxTotalFileSize

StatusPanel Class

The StatusPanel is renamed to StatusPane.

Properties

Old Member New Member
public property StatusPanel.DataUploadedLabel StatusPane.DataUploadedText
public property StatusPanel.FilesPreparedLabel StatusPane.FilesPreparedText
public property StatusPanel.FilesUploadedLabel StatusPane.FilesUploadedText
public property StatusPanel.PreparingLabel StatusPane.PreparingText
public property StatusPanel.SendButtonText ImageUploaderFlash.UploadButtonText
public property StatusPanel.SendingLabel StatusPane.SendingText
public property StatusPanel.StopButtonText ImageUploaderFlash.CancelUploadButtonText
public property StatusPanel.TotalFilesLabel StatusPane.NoFilesToUploadText
StatusPane.FilesToUploadText

TopPanel Class

The TopPanel is renamed to TopPane.

Properties

Old Member New Member
public property TopPanel.AddFilesLink TopPane.AddFilesHyperlinkText
public property TopPanel.OrLabel TopPane.OrText
public property TopPanel.RemoveAllFilesLink TopPane.ClearAllHyperlinkText
public property TopPanel.TitleLabel TopPane.TitleText
public property TopPanel.ViewComboBoxLabel TopPane.ViewComboBoxText

UploadedFile Class

Properties

Old Member New Member
public property UploadedFile.FileIndex UploadedFile.Index
public property UploadedFile.FirstUploaded Eliminated.
public property UploadedFile.PackageCount Package.PackageCount
public property UploadedFile.PackageFileCount Package.PackageFileCount
public property UploadedFile.PackageGuid Package.PackageGuid
public property UploadedFile.PackageIndex Package.PackageIndex
public property UploadedFile.SourceXResolution UploadedFile.HorizontalResolution
public property UploadedFile.SourceYResolution UploadedFile.VerticalResolution
public property new property UploadedFile.Tag

UploadedFiles Class

The UploadedFiles class is eliminated. Use the UploadHandler class instead; for more information see the Saving Uploaded Files in PHP topic.

Properties

Old Member New Member
public property UploadedFiles.AllFilesEnumerator Eliminated. Use the argument of a callback function set by the AllFilesUploadedCallback property instead.
public property UploadedFiles.PackageFilesEnumerator Eliminated. Use the Package.UploadedFiles property instead.
public property UploadedFiles.SessionTimeout UploadHandler.CacheAliveTimeout

Methods

Old Member New Member
public method UploadedFiles.checkAllFilesUploaded(string) Eliminated. Use the UploadHandler.AllFilesUploadedCallback and UploadHandler.FileUploadedCallback properties to set callback functions and the UploadHandler.processRequest() method to enable processing of Image Uploader Flash requests.
public method UploadedFiles.saveFiles(string) UploadHandler.saveFiles(string)