SetaPDF_Core_Writer_WriterInterface The writer interface

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

Implemented in

Implements

Summary

Methods

cleanUp()

abstract public void SetaPDF_Core_Writer_WriterInterface::cleanUp ( void )

Method called if a documents cleanUp-method is called.

finish()

abstract public void SetaPDF_Core_Writer_WriterInterface::finish ( 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 integer SetaPDF_Core_Writer_WriterInterface::getPos ( void )

Gets the current position/offset.

getStatus()

abstract public integer SetaPDF_Core_Writer_WriterInterface::getStatus ( void )

Get the current writer status.

See

start()

abstract public void SetaPDF_Core_Writer_WriterInterface::start ( void )

Method called when the writing process starts.

This method could send for example headers.

write()

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

Writes bytes to the output.

Parameters
$bytes : string