Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

FileUpload Class Reference

Inheritance diagram for FileUpload:
ZurmoWidget ImageFileUpload LogoFileUpload

Public Member Functions

 init ()
 run ()

Data Fields

const DOWNLOAD_TEMPLATE_ID = 'template-download'
const UPLOAD_TEMPLATE_ID = 'template-upload'
 $scriptFile
 $cssFile = null
 $assetFolderName = 'fileUpload'
 $uploadUrl
 $deleteUrl
 $allowMultipleUpload = false
 $renderFileDownloadLinks = false
 $options
 $formName
 $formData
 $inputName
 $inputId
 $hiddenInputName
 $existingFiles
 $maxSize
 $beforeUploadAction
 $afterDeleteAction
 $onSuccessAction
 $showMaxSize = true

Protected Member Functions

 getDropZoneContent ()
 getAddLabel ()
 makeDownloadRowScriptContent ()
 makeUploadRowScriptContent ()
 getDownloadTemplateId ()
 getUploadTemplateId ()
 renderParamForInit ($paramName)

Static Protected Member Functions

static renderMaxSizeContent ($maxSize, $showMaxSize)

Detailed Description

Render a file upload element that can allow for multiple file uploads and calls ajax to upload the files to the server as you add them. Utilizes file upload plugin here: https://github.com/blueimp/jQuery-File-Upload

Definition at line 42 of file FileUpload.php.


Member Function Documentation

init (  ) 

Initializes the widget. This method will publish JUI assets if necessary. It will also register jquery and JUI JavaScript files and the theme CSS file. If you override this method, make sure you call the parent implementation first.

Reimplemented from ZurmoWidget.

Definition at line 160 of file FileUpload.php.


Field Documentation

$scriptFile
Initial value:
 array('jquery.fileupload.js',
                                   'jquery.fileupload-ui.js', 'jquery.tmpl.min.js', 'jquery.iframe-transport.js')

Reimplemented from ZurmoWidget.

Definition at line 48 of file FileUpload.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Feb 22 07:10:51 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8