Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: