protected function readFromTempFile()
    {
        // Upload temp file
        $sUploadTempFile = $this->getUploadTempFile();
        $aFiles = json_decode(file_get_contents($sUploadTempFile), true);
        foreach($aFiles as $sVarName => $aUserFiles)
        {
            $this->aUserFiles[$sVarName] = [];
            foreach($aUserFiles as $aUserFile)
            {
                $this->aUserFiles[$sVarName][] = UploadedFile::fromTempData($aUserFile);
            }
        }
        unlink($sUploadTempFile);
    }
protected function readFromTempFile()
    {
        // Upload temp file
        $sUploadTempFile = $this->getUploadTempFile();
        $aFiles = json_decode(file_get_contents($sUploadTempFile), true);
        foreach($aFiles as $sVarName => $aUserFiles)
        {
            $this->aUserFiles[$sVarName] = [];
            foreach($aUserFiles as $aUserFile)
            {
                $this->aUserFiles[$sVarName][] = UploadedFile::fromTempData($aUserFile);
            }
        }
        unlink($sUploadTempFile);
    }
protected function readFromTempFile ( ) { // Upload temp file $ sUploadTempFile = $ this -> getUploadTempFile ( ) ; $ aFiles = json_decode ( file_get_contents ( $ sUploadTempFile ) , true ) ; foreach ( $ aFiles as $ sVarName => $ aUserFiles ) { $ this -> aUserFiles [ $ sVarName ] = [ ] ; foreach ( $ aUserFiles as $ aUserFile ) { $ this -> aUserFiles [ $ sVarName ] [ ] = UploadedFile :: fromTempData ( $ aUserFile ) ; } } unlink ( $ sUploadTempFile ) ; }
Read uploaded files info from a temp file

@return void
Read uploaded files info from a temp file