phpDocumentor

WidgetOptions implements IteratorAggregate

Class representing a collection of options for a widget.

Interfaces, Classes and Traits

IteratorAggregate

Table of Contents

$values  : array<string|int, WidgetOption>
Values.
create()  : WidgetOptions
Create instance.
getById()  : WidgetOption
Return option by ID.
getIterator()  : ArrayIterator
validateUpdateSet()  : void
Validate option update set.
__construct()  : mixed
Constructor.

Properties

Methods

getIterator()

public getIterator() : ArrayIterator
Tags
inheritDoc
Return values
ArrayIterator

validateUpdateSet()

Validate option update set.

public validateUpdateSet(array<string|int, mixed> $updateSet) : void
Parameters
$updateSet : array<string|int, mixed>

Widget's option update set.

Return values
void

__construct()

Constructor.

private __construct(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

Values.

Return values
mixed

Search results