SetaPDF_Core_Writer_Stream A writer class for streams

File: /SetaPDF v2/Core/Writer/Stream.php

Class hierarchy

Implements

Summary

Properties

$_handle

The file stream resource

$_status

Status property


Methods

__construct()

The constructor.

Parameters
$handle
 

_setHandle()

protected SetaPDF_Core_Writer_Stream::_setHandle (
$handle
): void

Set the stream handle.

Parameters
$handle
 

cleanUp()

Method which should/will be called when the document objects cleanUp() method is called.

copy()

public SetaPDF_Core_Writer_Stream::copy (
$source
): void

Copies an existing stream into the target stream.

Parameters
$source
 

finish()

Method which should/will be called when the writing process is finished.

getHandle()

Get the stream handle.

getPos()

Returns the current position of the output file.

getStatus()

Get the current status of the writer object.

start()

Method which should/will be called when the writing process starts.

write()

public SetaPDF_Core_Writer_Stream::write (
$s
): void

Write the content to the output file.

Parameters
$s