SetaPDF_Core_Writer_String A writer class for string results

File: /SetaPDF v2/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_Echo::$_pos = 0

The current position

$_status

Status property


Methods

__toString()

public SetaPDF_Core_Writer_String::__toString (
void
): string

__toString()-implementation.

cleanUp()

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

finish()

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

getBuffer()

public SetaPDF_Core_Writer_String::getBuffer (
void
): string

Get the string buffer.

getPos()

public SetaPDF_Core_Writer_Echo::getPos (
void
): integer

Returns the current position.

getStatus()

Get the current status of the writer object.

start()

public SetaPDF_Core_Writer_String::start (
void
): void

Initiate the buffer property.

write()

public SetaPDF_Core_Writer_String::write (
string $s
): void

Add content to the buffer.

Parameters
$s : string