Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Class representing an indirect object reference. More...
Static Public Member Functions | |
static | create ($objectNumber, $generationNumber) |
Helper method to create an instance. | |
static | ensure ($value) |
Ensures that the passed value is a PdfIndirectObject instance. | |
static | flatten (PdfType $value, PdfParser $parser) |
Flatten indirect object references to direct objects. | |
static | resolve (PdfType $value, PdfParser $parser, $stopAtIndirectObject=false) |
Resolves a PdfType value to its value. | |
Public Attributes | |
int | $generationNumber |
The generation number. | |
mixed | $value |
The value of the PDF type. | |
Static Protected Member Functions | |
static | ensureType ($type, $value, $errorMessage) |
Ensure that a value is an instance of a specific PDF type. | |
Class representing an indirect object reference.
|
static |
Helper method to create an instance.
int | $objectNumber | |
int | $generationNumber |
self |
|
static |
Ensures that the passed value is a PdfIndirectObject instance.
mixed | $value |
self |
PdfTypeException |
|
staticprotectedinherited |
Ensure that a value is an instance of a specific PDF type.
string | $type | |
PdfType | $value | |
string | $errorMessage |
mixed |
PdfTypeException |
Flatten indirect object references to direct objects.
PdfType |
CrossReferenceException | |
PdfParserException |
|
staticinherited |
Resolves a PdfType value to its value.
This method is used to evaluate indirect and direct object references until a final value is reached.
PdfType |
CrossReferenceException | |
PdfParserException |