Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Class representing a numeric PDF object. More...
Static Public Member Functions | |
static | create ($value) |
Helper method to create an instance. | |
static | ensure ($value) |
Ensures that the passed value is a PdfNumeric instance. | |
static | resolve (PdfType $value, PdfParser $parser, $stopAtIndirectObject=false) |
Resolves a PdfType value to its value. | |
Public Attributes | |
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 a numeric PDF object.
|
static |
|
static |
Ensures that the passed value is a PdfNumeric 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 |
|
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 |