displayFileBrowserJS

Availability: >= 3.0

Type: Object Method

Description: Displays a JavaScript function for opening the file browser.

Syntax:

$editor->displayFileBrowserJSstring $functionname [, boolean $ineditor] );

You may use the WysiwygPro file browser outside of the editor. This function is used to create a custom file chooser.

Parameters:

$functionname
A unique name for the function

$inEditor
Set this to true if you will also be displaying an editor from this configuration.

Example:
For an example please see the File Manager example in your examples folder.

See also:

fetchFileBrowserJS