SetaPDF_Core_Writer_String A writer class for string results

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

Class hierarchy

Implements

Summary

Properties

$_buffer

protected string SetaPDF_Core_Writer_String::$_buffer = ''

The string buffer

$_pos

protected integer SetaPDF_Core_Writer_String::$_pos = 0

The current position

$_status

protected string SetaPDF_Core_Writer_String::$_status = 0

Status property


Methods

__toString()

public string SetaPDF_Core_Writer_String::__toString ( void )

__toString()-implementation.

cleanUp()

public void SetaPDF_Core_Writer_AbstractWriter::cleanUp ( void )

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

finish()

public void SetaPDF_Core_Writer_AbstractWriter::finish ( void )

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

getBuffer()

public string SetaPDF_Core_Writer_String::getBuffer ( void )

Get the string buffer.

getPos()

public integer SetaPDF_Core_Writer_Echo::getPos ( void )

Returns the current position.

getStatus()

public string SetaPDF_Core_Writer_AbstractWriter::getStatus ( void )

Get the current status of the writer object.

start()

public void SetaPDF_Core_Writer_String::start ( void )

Initiate the buffer property.

write()

public void SetaPDF_Core_Writer_String::write ( string $s )

Add content to the buffer.

Parameters
$s : string