Class: XULFilePickerSource Location: /class/fileHandling.php.inc
Node | --XULFilePicker
OS-native filepicker dialog
Opening modes can be one of 'open', 'save', 'getfolder' or 'openmultiple'. This node needs to be added to a window as a child first. Then the open() method can be called, after which the dialog opens. You can set an event handler for the local event 'closed', at which time the property XULFilePicker->returnCode will contain one of the strings 'ok', 'cancel' or 'replace', indicating the action desired by the user. The property XULFilePicker->file will contain the selected file or folder if the dialog was of mode 'save', 'open' or 'getfolder'. In the case of an 'openmultiple' picker the property XULFilePicker->files will contain an array of the selected paths.
Documentation generated on Mon, 07 Apr 2014 00:51:22 +0200 by phpDocumentor 1.4.3
|All content is © 2009 by FrontDoor Media Group, is available under the Creative Commons Attribution-Share Alike 2.5 License and is maintained by the SiteFusion.org staff|