UploadPane.SortMode Property HTML5/Flash Uploader PHP

Supported technologies:

Gets or sets a value specifying how the items are sorted in the upload list.

Syntax

PHP Initialize
public function getSortMode() {
}

public function setSortMode($value) {
}

Property Value

Type: string

The sort mode for the upload pane.

The following values are supported:

ValueDescription
NameItems are sorted alphabetically.
SizeItems are sorted by file size.
TypeItems are sorted by mime types.
ModifiedItems are sorted by last modified date.
PathItems are sorted by path (makes sense only when you upload folders).
UnsortedItems are not sorted automatically.

Default value is "Unsorted".

Remarks

Items are automatically arranged when they are added to the upload list. You can use the sort(String, String) method to force items to be sorted with the required mode and order.

See Also

Reference