ClientEvents.AfterPackageUpload Property HTML5/Flash Uploader PHP

Supported technologies: Adobe FlashHTML 5

Gets or sets an array of AfterPackageUpload event handlers.

Syntax

PHP Initialize
public function &getAfterPackageUpload() {
}

public function setAfterPackageUpload($value) {
}

Property Value

Type: array

The string containing the name of AfterPackageUpload event handler or an array of handler names.

Remarks

This event fires when the current package was uploaded successfully.

Parameters

fileIndex
zero-based index of the package (i.e. request) inside the current upload session.
response
HTML code of the page returned from the server-side upload script after processing a current package.

Returns

A boolean value (true or false). If event handler returns false, the upload process stops and the Progress event is fired with error code 18.

See Also

Reference

Manual