ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilPHPOutputDelivery Class Reference

Class ilPHPOutputDelivery. More...

+ Collaboration diagram for ilPHPOutputDelivery:

Public Member Functions

 start ($download_file_name, $mime_type=ilMimeTypeUtil::APPLICATION__OCTET_STREAM)
 
 stop ()
 

Protected Attributes

 $ilFileDelivery
 

Detailed Description

Class ilPHPOutputDelivery.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0.0

Definition at line 10 of file class.ilPHPOutputDelivery.php.

Member Function Documentation

◆ start()

ilPHPOutputDelivery::start (   $download_file_name,
  $mime_type = ilMimeTypeUtil::APPLICATION__OCTET_STREAM 
)
Parameters
$download_file_name
string$mime_type

Definition at line 22 of file class.ilPHPOutputDelivery.php.

References ilFileDelivery\checkCache(), ilFileDelivery\clearBuffer(), ilFileDelivery\DIRECT_PHP_OUTPUT, ilFileDelivery\DISP_ATTACHMENT, ilFileDelivery\setCachingHeaders(), ilFileDelivery\setDisposition(), ilFileDelivery\setDownloadFileName(), ilFileDelivery\setGeneralHeaders(), ilFileDelivery\setMimeType(), and ilFileDelivery\setShowLastModified().

22  {
24  $this->ilFileDelivery->setMimeType($mime_type);
25  $this->ilFileDelivery->setDownloadFileName($download_file_name);
27  $this->ilFileDelivery->cleanDownloadFileName();
28  $this->ilFileDelivery->clearBuffer();
29  $this->ilFileDelivery->checkCache();
31  $this->ilFileDelivery->setShowLastModified(false);
33  }
setDownloadFileName($download_file_name)
setDisposition($disposition)
Class ilFileDelivery.
setShowLastModified($show_last_modified)
+ Here is the call graph for this function:

◆ stop()

ilPHPOutputDelivery::stop ( )

Definition at line 36 of file class.ilPHPOutputDelivery.php.

References ilFileDelivery\close().

36  {
37  $this->ilFileDelivery->close();
38  }
Class ilFileDelivery.
+ Here is the call graph for this function:

Field Documentation

◆ $ilFileDelivery

ilPHPOutputDelivery::$ilFileDelivery
protected

Definition at line 15 of file class.ilPHPOutputDelivery.php.


The documentation for this class was generated from the following file: