Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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
false|self
Exceptions
PdfTypeException

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