Copied!

Zone

Zone.php : 13

Zone is area on the page which contains blocks.

Methods

public__construct()

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

Parameters

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

publicaddBlock()

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

Parameters

Name Type Default value Description
$block BlockValue - -

publicgetBlocks()

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

Return values

array<string|int, BlockValue>

publicgetId()

Zone.php : 32
public getId() : string

Return values

string

publicgetName()

Zone.php : 42
public getName() : string

Return values

string

publicsetBlocks()

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

Parameters

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

publicsetId()

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

Parameters

Name Type Default value Description
$id string - -

publicsetName()

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

Parameters

Name Type Default value Description
$name string - -