/** * Constructor. */ function __construct($id, $page) { parent::__construct($id, $page); $this->setHasUploadCallback('handleUploadedFile'); $this->baseurl = 'http://' . $_SERVER['HTTP_HOST']; $this->maxConcurrentUploads = 1; $this->maxUploadBytes = WFUploaderUtils::getIniSpecifiedUploadMaxFilesizeAsBytes(); $this->autoupload = false; $this->autoRedirectToUrlOnCompleteAll = NULL; $this->uploads = array(); }
/** * Constructor. */ function __construct($id, $page) { parent::__construct($id, $page); $this->tmpFileName = NULL; $this->mimeType = NULL; $this->originalFileName = NULL; $this->hasUpload = false; $this->setHasUploadCallback('handleUploadedFile'); $this->baseurl = 'http://' . $_SERVER['HTTP_HOST']; $this->dropimage = NULL; $this->dropimageupload = NULL; $this->maxthreads = 5; $this->setBackgroundcolour('ffffff'); $this->tableheaderbackgroundcolour = NULL; $this->tableheadercolour = NULL; $this->warnmessage = false; $this->autoupload = false; $this->helpbutton = false; $this->removebutton = true; $this->addbutton = true; $this->uploadbutton = true; $this->endpage = NULL; }