AbstractObject
in package
implements
ObjectInterface
Pdf abstract object class
Tags
Interfaces, Classes, Traits and Enums
- ObjectInterface
- Pdf object interface
Table of Contents
- $data : string
- PDF object data
- $index : int
- PDF object index
- $isImported : string
- Imported flag
- __toString() : string
- Method to print the object
- getData() : string
- Get the object stream
- getDictionaryReferences() : array<string|int, mixed>
- Get the integer references within a dictionary stream
- getIndex() : int
- Get the object index
- isImported() : bool
- Determine if the object is imported
- setData() : AbstractObject
- Set the object data
- setImported() : AbstractObject
- Set whether the object is imported
- setIndex() : AbstractObject
- Set the object index
Properties
$data
PDF object data
protected
string
$data
= null
$index
PDF object index
protected
int
$index
= null
$isImported
Imported flag
protected
string
$isImported
= false
Methods
__toString()
Method to print the object
public
abstract __toString() : string
Return values
string —getData()
Get the object stream
public
getData() : string
Return values
string —getDictionaryReferences()
Get the integer references within a dictionary stream
public
getDictionaryReferences(string $dictionary) : array<string|int, mixed>
Parameters
- $dictionary : string
Return values
array<string|int, mixed> —getIndex()
Get the object index
public
getIndex() : int
Return values
int —isImported()
Determine if the object is imported
public
isImported() : bool
Return values
bool —setData()
Set the object data
public
setData(string $data) : AbstractObject
Parameters
- $data : string
Return values
AbstractObject —setImported()
Set whether the object is imported
public
setImported(bool $imported) : AbstractObject
Parameters
- $imported : bool
Return values
AbstractObject —setIndex()
Set the object index
public
setIndex(int $i) : AbstractObject
Parameters
- $i : int