public/js/filemanager/uploader/jupload.php
public function defaultAfterUploadManagement() {
		$flist = '[defaultAfterUploadManagement] Nb uploaded files is: ' . sizeof($this->files);
		$flist = $this->classparams['http_flist_start'];
		foreach ($this->files as $f) {
			//$f is an array, that contains all info about the uploaded file.
			$this->logDebug('defaultAfterUploadManagement', "  Reading file ${f['name']}");
			$flist .= $this->classparams['http_flist_file_before'];
			$flist .= $f['name'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['size'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['relativePath'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['fullName'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['md5sum'];
			$addBR = false;
			foreach ($f as $key=>$value) {
				//If it's a specific key, let's display it:
				if ($key != 'name' && $key != 'size' && $key != 'relativePath' && $key != 'fullName' && $key != 'md5sum') {
					if ($addBR) {
						$flist .= "<br>";
					} else {
						// First line. We must add a new 'official' list separator.
						$flist .= $this->classparams['http_flist_file_between'];
						$addBR = true;
					}
					$flist .= "$key => $value";
				}
			}
			$flist .= $this->classparams['http_flist_file_after'];
	}
	$flist .= $this->classparams['http_flist_end'];

	return $flist;
}
public function defaultAfterUploadManagement() {
		$flist = '[defaultAfterUploadManagement] Nb uploaded files is: ' . sizeof($this->files);
		$flist = $this->classparams['http_flist_start'];
		foreach ($this->files as $f) {
			//$f is an array, that contains all info about the uploaded file.
			$this->logDebug('defaultAfterUploadManagement', "  Reading file ${f['name']}");
			$flist .= $this->classparams['http_flist_file_before'];
			$flist .= $f['name'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['size'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['relativePath'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['fullName'];
			$flist .= $this->classparams['http_flist_file_between'];
			$flist .= $f['md5sum'];
			$addBR = false;
			foreach ($f as $key=>$value) {
				//If it's a specific key, let's display it:
				if ($key != 'name' && $key != 'size' && $key != 'relativePath' && $key != 'fullName' && $key != 'md5sum') {
					if ($addBR) {
						$flist .= "<br>";
					} else {
						// First line. We must add a new 'official' list separator.
						$flist .= $this->classparams['http_flist_file_between'];
						$addBR = true;
					}
					$flist .= "$key => $value";
				}
			}
			$flist .= $this->classparams['http_flist_file_after'];
	}
	$flist .= $this->classparams['http_flist_end'];

	return $flist;
}
public function defaultAfterUploadManagement ( ) { $ flist = '[defaultAfterUploadManagement] Nb uploaded files is: ' . sizeof ( $ this -> files ) ; $ flist = $ this -> classparams [ 'http_flist_start' ] ; foreach ( $ this -> files as $ f ) { //$f is an array, that contains all info about the uploaded file. $ this -> logDebug ( 'defaultAfterUploadManagement' , "  Reading file ${f['name']}" ) ; $ flist .= $ this -> classparams [ 'http_flist_file_before' ] ; $ flist .= $ f [ 'name' ] ; $ flist .= $ this -> classparams [ 'http_flist_file_between' ] ; $ flist .= $ f [ 'size' ] ; $ flist .= $ this -> classparams [ 'http_flist_file_between' ] ; $ flist .= $ f [ 'relativePath' ] ; $ flist .= $ this -> classparams [ 'http_flist_file_between' ] ; $ flist .= $ f [ 'fullName' ] ; $ flist .= $ this -> classparams [ 'http_flist_file_between' ] ; $ flist .= $ f [ 'md5sum' ] ; $ addBR = false ; foreach ( $ f as $ key => $ value ) { //If it's a specific key, let's display it: if ( $ key != 'name' && $ key != 'size' && $ key != 'relativePath' && $ key != 'fullName' && $ key != 'md5sum' ) { if ( $ addBR ) { $ flist .= "<br>" ; } else { // First line. We must add a new 'official' list separator. $ flist .= $ this -> classparams [ 'http_flist_file_between' ] ; $ addBR = true ; } $ flist .= "$key => $value" ; } } $ flist .= $ this -> classparams [ 'http_flist_file_after' ] ; } $ flist .= $ this -> classparams [ 'http_flist_end' ] ; return $ flist ; }
Example function to process the files uploaded.  This one simply displays the files' data.
Example function to process the files uploaded . This one simply displays the files data .