|
static | create (array $values=[]) |
| Helper method to create an instance.
|
|
static | ensure ($array, $size=null) |
| Ensures that the passed array is a PdfArray instance with a (optional) specific size.
|
|
static | flatten (PdfType $value, PdfParser $parser) |
| Flatten indirect object references to direct objects.
|
|
static | parse (Tokenizer $tokenizer, PdfParser $parser) |
| Parses an array of the passed tokenizer and parser.
|
|
static | resolve (PdfType $value, PdfParser $parser, $stopAtIndirectObject=false) |
| Resolves a PdfType value to its value.
|
|
|
mixed | $value |
| The value of the PDF type.
|
|
|
static | ensureType ($type, $value, $errorMessage) |
| Ensure that a value is an instance of a specific PDF type.
|
|
◆ create()
static PdfArray::create |
( |
array | $values = [] | ) |
|
|
static |
Helper method to create an instance.
- Parameters
-
- Return values
-
◆ ensure()
static PdfArray::ensure |
( |
| $array, |
|
|
| $size = null ) |
|
static |
Ensures that the passed array is a PdfArray instance with a (optional) specific size.
- Parameters
-
mixed | $array | |
null | int | $size | |
- Return values
-
- Exceptions
-
◆ ensureType()
static PdfType::ensureType |
( |
| $type, |
|
|
| $value, |
|
|
| $errorMessage ) |
|
staticprotectedinherited |
Ensure that a value is an instance of a specific PDF type.
- Parameters
-
string | $type | |
PdfType | $value | |
string | $errorMessage | |
- Return values
-
- Exceptions
-
◆ flatten()
Flatten indirect object references to direct objects.
- Parameters
-
- Return values
-
- Exceptions
-
◆ parse()
Parses an array of the passed tokenizer and parser.
- Parameters
-
- Return values
-
- Exceptions
-
◆ resolve()
static PdfType::resolve |
( |
PdfType | $value, |
|
|
PdfParser | $parser, |
|
|
| $stopAtIndirectObject = false ) |
|
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.
- Parameters
-
- Return values
-
- Exceptions
-
The documentation for this class was generated from the following file:
- mod/assign/feedback/editpdf/fpdi/src/PdfParser/Type/PdfArray.php