Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
ZipStream\Option\Archive Class Reference

Public Member Functions

 __construct ()
 Options constructor.
 
 getComment ()
 
 getContentDisposition ()
 
 getContentType ()
 
 getDeflateLevel ()
 
 getHttpHeaderCallback ()
 
 getLargeFileMethod ()
 
 getLargeFileSize ()
 
 getOutputStream ()
 
 isEnableZip64 ()
 
 isFlushOutput ()
 
 isSendHttpHeaders ()
 
 isStatFiles ()
 
 isZeroHeader ()
 
 setComment (string $comment)
 
 setContentDisposition (string $contentDisposition)
 
 setContentType (string $contentType)
 
 setDeflateLevel (int $deflateLevel)
 
 setEnableZip64 (bool $enableZip64)
 
 setFlushOutput (bool $flushOutput)
 
 setHttpHeaderCallback (callable $httpHeaderCallback)
 
 setLargeFileMethod (Method $largeFileMethod)
 
 setLargeFileSize (int $largeFileSize)
 
 setOutputStream ($outputStream)
 
 setSendHttpHeaders (bool $sendHttpHeaders)
 
 setStatFiles (bool $statFiles)
 
 setZeroHeader (bool $zeroHeader)
 

Public Attributes

const DEFAULT_DEFLATE_LEVEL = 6
 

Member Function Documentation

◆ getDeflateLevel()

ZipStream\Option\Archive::getDeflateLevel ( )
Return values
int

◆ getOutputStream()

ZipStream\Option\Archive::getOutputStream ( )
Return values
StreamInterface|resource

◆ setDeflateLevel()

ZipStream\Option\Archive::setDeflateLevel ( int $deflateLevel)
Parameters
int$deflateLevel

◆ setOutputStream()

ZipStream\Option\Archive::setOutputStream ( $outputStream)
Parameters
StreamInterface | resource$outputStream

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