Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250613) (4f61b2974b9)
|
Class representing a hexadecimal encoded PDF string object. More...
Static Public Member Functions | |
static | create ($string) |
Helper method to create an instance. | |
static | ensure ($hexString) |
Ensures that the passed value is a PdfHexString instance. | |
static | parse (StreamReader $streamReader) |
Parses a hexadecimal string object from the stream reader. | |
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 hexadecimal encoded PDF string object.
|
static |
Helper method to create an instance.
string | $string | The hex encoded string. |
self |
|
static |
Ensures that the passed value is a PdfHexString instance.
mixed | $hexString |
self |
PdfTypeException |
|
staticprotectedinherited |
Ensure that a value is an instance of a specific PDF type.
string | $type | |
PdfType | $value | |
string | $errorMessage |
mixed |
PdfTypeException |
|
static |
Parses a hexadecimal string object from the stream reader.
StreamReader | $streamReader |
bool|self |
|
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 |