Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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 ( $objectNumberToken, $objectGenerationNumberToken, 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 ( $objectNumberToken,
$objectGenerationNumberToken,
PdfParser $parser,
Tokenizer $tokenizer,
StreamReader $reader )
static

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

Parameters
int$objectNumberToken
int$objectGenerationNumberToken
PdfParser$parser
Tokenizer$tokenizer
StreamReader$reader
Return values
bool|self
Exceptions
PdfTypeException

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