Copied!

Zone

Zone.php : 12

Zone is area on the page which contains blocks.

Methods

public__construct()

Zone.php : 28
public __construct(string $id, string $name[, array<string|int, BlockValue$blocks = [] ])

Parameters

Name Type Default value Description
$id string - -
$name string -

Zone name

$blocks array<string|int, BlockValue> [] -

publicaddBlock()

Zone.php : 86
public addBlock(BlockValue $block) : void

Parameters

Name Type Default value Description
$block BlockValue - -

publicgetBlocks()

Zone.php : 70
public getBlocks() : array<string|int, BlockValue>

Return values

array<string|int, BlockValue>

publicgetId()

Zone.php : 38
public getId() : string

Return values

string

publicgetName()

Zone.php : 54
public getName() : string

Return values

string

publicsetBlocks()

Zone.php : 78
public setBlocks(array<string|int, BlockValue$blocks) : void

Parameters

Name Type Default value Description
$blocks array<string|int, BlockValue> - -

publicsetId()

Zone.php : 46
public setId(string $id) : void

Parameters

Name Type Default value Description
$id string - -

publicsetName()

Zone.php : 62
public setName(string $name) : void

Parameters

Name Type Default value Description
$name string - -