SetaPDF_Core_Writer_WriterInterface The writer interface

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

Implemented in

Implements

Summary

Methods

cleanUp()

abstract public SetaPDF_Core_Writer_WriterInterface::cleanUp (
void
): void

Method called if a documents cleanUp-method is called.

finish()

abstract public SetaPDF_Core_Writer_WriterInterface::finish (
void
): void

This method is called when the writing process is finished.

It could close a file handle for example or send headers and flush a buffer.

getPos()

abstract public SetaPDF_Core_Writer_WriterInterface::getPos (
void
): integer

Gets the current position/offset.

getStatus()

abstract public SetaPDF_Core_Writer_WriterInterface::getStatus (
void
): integer

Get the current writer status.

See

start()

abstract public SetaPDF_Core_Writer_WriterInterface::start (
void
): void

Method called when the writing process starts.

This method could send for example headers.

write()

abstract public SetaPDF_Core_WriteInterface::write (
string $bytes
): void

Writes bytes to the output.

Parameters
$bytes : string