SetaPDF_Core_Writer Class for writer constants and short hand writer object

File: /SetaPDF v2/Core/Writer.php

Class hierarchy

Implements

Summary

Constants

ACTIVE

public const integer SetaPDF_Core_Writer::ACTIVE = 1

Writer status flag

CLEANED_UP

public const integer SetaPDF_Core_Writer::CLEANED_UP = -2

Writer status flag

FINISHED

public const integer SetaPDF_Core_Writer::FINISHED = -1

Writer status flag

INACTIVE

public const integer SetaPDF_Core_Writer::INACTIVE = 0

Writer status flag


Properties

$content

public string SetaPDF_Core_Writer::$content = ''

The content of the writer


Methods

__toString()

public SetaPDF_Core_Writer::__toString (
void
): string

Implementation of the __toString method.

write()

public SetaPDF_Core_Writer::write (
string $bytes
): void

Writes bytes to the output.

Parameters
$bytes : string