Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
Class representing a PDF name object. More...
Static Public Member Functions | |
static | create ($string) |
Helper method to create an instance. | |
static | ensure ($name) |
Ensures that the passed value is a PdfName instance. | |
static | parse (Tokenizer $tokenizer, StreamReader $streamReader) |
Parses a name object from the passed tokenizer and stream-reader. | |
static | unescape ($value) |
Unescapes a name string. | |
Class representing a PDF name object.
|
static |
Helper method to create an instance.
string | $string |
self |
|
static |
Ensures that the passed value is a PdfName instance.
mixed | $name |
self |
PdfTypeException |
|
static |
Parses a name object from the passed tokenizer and stream-reader.
Tokenizer | $tokenizer | |
StreamReader | $streamReader |
self |
|
static |
Unescapes a name string.
string | $value |
string |