Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
PdfIndirectObject Class Reference

Class representing an indirect object. More...

Inheritance diagram for PdfIndirectObject:

Static Public Member Functions

static create ($objectNumber, $generationNumber, PdfType $value)
 Helper method to create an instance.
 
static ensure ($indirectObject)
 Ensures that the passed value is a PdfIndirectObject instance.
 
static parse ( $objectNumber, $objectGenerationNumber, PdfParser $parser, Tokenizer $tokenizer, StreamReader $reader)
 Parses an indirect object from a tokenizer, parser and stream-reader.
 

Public Attributes

int $generationNumber
 The generation number.
 
int $objectNumber
 The object number.
 

Detailed Description

Class representing an indirect object.

Member Function Documentation

◆ create()

static PdfIndirectObject::create ( $objectNumber,
$generationNumber,
PdfType $value )
static

Helper method to create an instance.

Parameters
int$objectNumber
int$generationNumber
PdfType$value
Return values
self

◆ ensure()

static PdfIndirectObject::ensure ( $indirectObject)
static

Ensures that the passed value is a PdfIndirectObject instance.

Parameters
mixed$indirectObject
Return values
self
Exceptions
PdfTypeException

◆ parse()

static PdfIndirectObject::parse ( $objectNumber,
$objectGenerationNumber,
PdfParser $parser,
Tokenizer $tokenizer,
StreamReader $reader )
static

Parses an indirect object from a tokenizer, parser and stream-reader.

Parameters
int$objectNumber
int$objectGenerationNumber
PdfParser$parser
Tokenizer$tokenizer
StreamReader$reader
Return values
self|false
Exceptions
PdfTypeException

The documentation for this class was generated from the following file: