SetaPDF_Core_Writer_FileInterface An interface for writer classes which work with files.

File: /SetaPDF v2/Core/Writer/FileInterface.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.

getPath()

abstract public SetaPDF_Core_Writer_FileInterface::getPath (
void
): string

Get the path of the file.

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