19declare(strict_types=1);
45 public function inline(
69 if ($this->isRequestOnContentHost()) {
70 $this->notFound($this->
http->response());
76 if ($delete_file && !$this->response_builder->supportFileDeletion()) {
77 $this->response_builder = $this->fallback_response_builder;
80 $this->
http->response(),
86 $r = $this->response_builder->buildForStream(
87 $this->
http->request(),
attached(string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false)
deliver(string $path_to_file, Disposition $disposition, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false)
string $download_file_name
Stream factory which enables the user to create streams without the knowledge of the concrete class.
static ofResource($resource)
Wraps an already created resource with the stream abstraction.
static http()
Fetches the global http state from ILIAS.
if(!file_exists('../ilias.ini.php'))