BaseControl.DebugScriptMode Property HTML5/Flash Uploader PHP

Supported technologies: Adobe FlashHTML 5

Gets or sets a debug mode which will be used to display messages if the DebugScriptLevel is greater than 0.


PHP Initialize
public function getDebugScriptMode() {

public function setDebugScriptMode($value) {

Property Value

Type: string

The string containing one or several debug modes. The following values are supported:

popupAll the messages will be shown in a popup window.
consoleAll the messages will be logged in a browser console (e.g. Firebug) if it is available.
alertAll the messages will be shown in alerts.

If several debug modes are specified, they are used as follows. When the control is about to display a message, it uses the first specified mode. If it is failed, the next mode is used until the message is displayed correctly.

Default value is "['popup', 'console', 'alert']".

See Also