[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/lib/zipstream/src/ -> File.php (summary)

(no description)

File Size: 477 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

File:: (17 methods):
  __construct()
  processPath()
  processData()
  addFileHeader()
  filterFilename()
  dosTime()
  buildZip64ExtraBlock()
  addFileFooter()
  processStream()
  processStreamWithZeroHeader()
  readStream()
  deflateInit()
  deflateData()
  deflateFinish()
  processStreamWithComputedHeader()
  getCdrFile()
  getTotalLength()


Class: File  - X-Ref

__construct(ZipStream $zip, string $name, ?FileOptions $opt = null)   X-Ref


processPath(string $path)   X-Ref
No description

processData(string $data)   X-Ref
No description

addFileHeader()   X-Ref
Create and send zip header for this file.

return: void

filterFilename(string $filename)   X-Ref
Strip characters that are not legal in Windows filenames
to prevent compatibility issues

param: string $filename Unprocessed filename
return: string

dosTime(int $when)   X-Ref
Convert a UNIX timestamp to a DOS timestamp.

param: int $when
return: int DOS Timestamp

buildZip64ExtraBlock(bool $force = false)   X-Ref
No description

addFileFooter()   X-Ref
Create and send data descriptor footer for this file.

return: void

processStream(StreamInterface $stream)   X-Ref
No description

processStreamWithZeroHeader(StreamInterface $stream)   X-Ref
No description

readStream(StreamInterface $stream, ?int $options = null)   X-Ref
No description

deflateInit()   X-Ref
No description

deflateData(StreamInterface $stream, string &$data, ?int $options = null)   X-Ref
No description

deflateFinish(?int $options = null)   X-Ref
No description

processStreamWithComputedHeader(StreamInterface $stream)   X-Ref
No description

getCdrFile()   X-Ref
Send CDR record for specified file.

return: string

getTotalLength()   X-Ref

return: Bigint



Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1