protected function updateFile($file_id)
    {
        if (!$this->isError() && !$this->file->update($file_id, $this->getSubmitted())) {
            $this->errorAndExit($this->text('Unexpected result'));
        }
    }
protected function updateFile($file_id)
    {
        if (!$this->isError() && !$this->file->update($file_id, $this->getSubmitted())) {
            $this->errorAndExit($this->text('Unexpected result'));
        }
    }
protected function updateFile ( $ file_id ) { if ( ! $ this -> isError ( ) && ! $ this -> file -> update ( $ file_id , $ this -> getSubmitted ( ) ) ) { $ this -> errorAndExit ( $ this -> text ( 'Unexpected result' ) ) ; } }
Updates a file record
@param string $file_id
Updates a file record