protected function convertMultiFileArray(array $filesArr)
	{
		$files = array();
		$filesCount = count($filesArr[self::VALUE_NAME]);

		for($i = 0; $i < $filesCount; ++$i) {
			$files[] = array(
				self::VALUE_NAME => $filesArr[self::VALUE_NAME][$i],
				self::VALUE_TYPE => $filesArr[self::VALUE_TYPE][$i],
				self::VALUE_TMP_NAME => $filesArr[self::VALUE_TMP_NAME][$i],
				self::VALUE_ERROR => $filesArr[self::VALUE_ERROR][$i],
				self::VALUE_SIZE => $filesArr[self::VALUE_SIZE][$i],
			);
		}

		return $files;
	}
protected function convertMultiFileArray(array $filesArr)
	{
		$files = array();
		$filesCount = count($filesArr[self::VALUE_NAME]);

		for($i = 0; $i < $filesCount; ++$i) {
			$files[] = array(
				self::VALUE_NAME => $filesArr[self::VALUE_NAME][$i],
				self::VALUE_TYPE => $filesArr[self::VALUE_TYPE][$i],
				self::VALUE_TMP_NAME => $filesArr[self::VALUE_TMP_NAME][$i],
				self::VALUE_ERROR => $filesArr[self::VALUE_ERROR][$i],
				self::VALUE_SIZE => $filesArr[self::VALUE_SIZE][$i],
			);
		}

		return $files;
	}
protected function convertMultiFileArray ( array $ filesArr ) { $ files = array ( ) ; $ filesCount = count ( $ filesArr [ self :: VALUE_NAME ] ) ; for ( $ i = 0 ; $ i < $ filesCount ; ++ $ i ) { $ files [ ] = array ( self :: VALUE_NAME => $ filesArr [ self :: VALUE_NAME ] [ $ i ] , self :: VALUE_TYPE => $ filesArr [ self :: VALUE_TYPE ] [ $ i ] , self :: VALUE_TMP_NAME => $ filesArr [ self :: VALUE_TMP_NAME ] [ $ i ] , self :: VALUE_ERROR => $ filesArr [ self :: VALUE_ERROR ] [ $ i ] , self :: VALUE_SIZE => $ filesArr [ self :: VALUE_SIZE ] [ $ i ] , ) ; } return $ files ; }
Restructures an input array of multiple files

@param array $filesArr

@return array
Restructures an input array of multiple files