Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
PdfArray Class Reference
Inheritance diagram for PdfArray:

Static Public Member Functions

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 parse (Tokenizer $tokenizer, PdfParser $parser)
 Parses an array of the passed tokenizer and parser.
 

Member Function Documentation

◆ create()

static PdfArray::create ( array $values = [])
static

Helper method to create an instance.

Parameters
PdfType[]$values
Return values
self

◆ 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
self
Exceptions
PdfTypeException

◆ parse()

static PdfArray::parse ( Tokenizer $tokenizer,
PdfParser $parser )
static

Parses an array of the passed tokenizer and parser.

Parameters
Tokenizer$tokenizer
PdfParser$parser
Return values
bool|self
Exceptions
PdfTypeException

The documentation for this class was generated from the following file: