ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilObjFileUploadResponse.php
Go to the documentation of this file.
1<?php
2
8{
9 public $debug = '';
10 public $error = null;
11 public $fileName = '';
12 public $fileSize = 0;
13 public $fileType = '';
14
15 public function send() : void
16 {
17 echo json_encode($this, JSON_THROW_ON_ERROR);
18 // no further processing!
19 exit;
20 }
21}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjFileUploadResponse.
exit
Definition: login.php:29