Gets or sets an array of BeforeUpload event handlers.
public function &getBeforeUpload() { } public function setBeforeUpload($value) { }
Type: array
The string containing the name of BeforeUpload event handler or an array of handler names.
This event fires when the upload is about to be started.
A boolean value (true
or false
). If event handler returns false
(or zero), the upload is cancelled.
Otherwise, upload begins immediately after the event handler finishes. This makes the event handler convenient for validating
additional data provided by user.