Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

FieldType/Page/Parts/Zone.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\FieldType\Page\Parts;
8
16 class Zone extends Base
17 {
19 protected $blocks = [];
20
22 protected $blocksById = [];
23
29 protected $id;
30
36 protected $identifier;
37
43 protected $action;
44
45 public function __construct(array $properties = [])
46 {
47 parent::__construct($properties);
48
49 foreach ($this->blocks as $block) {
50 $this->blocksById[$block->id] = $block;
51 }
52 }
53 }
eZ\Publish\Core\FieldType\Page\Parts\Base
Definition: FieldType/Page/Parts/Base.php:12
eZ\Publish\Core\FieldType\Page\Parts\Zone
Definition: FieldType/Page/Parts/Zone.php:17
eZ\Publish\Core\FieldType\Page\Parts\Zone\$action
$action
Definition: FieldType/Page/Parts/Zone.php:43
eZ\Publish\Core\FieldType\Page\Parts\Zone\$identifier
$identifier
Definition: FieldType/Page/Parts/Zone.php:36
eZ\Publish\Core\FieldType\Page\Parts\Zone\__construct
__construct(array $properties=[])
Constructor.
Definition: FieldType/Page/Parts/Zone.php:45
eZ\Publish\Core\FieldType\Page\Parts\Zone\$blocks
$blocks
Definition: FieldType/Page/Parts/Zone.php:19
eZ\Publish\Core\FieldType\Page\Parts\Zone\$id
$id
Definition: FieldType/Page/Parts/Zone.php:29
eZ\Publish\Core\FieldType\Page\Parts\Zone\$blocksById
$blocksById
Definition: FieldType/Page/Parts/Zone.php:22
eZ\Publish\Core\FieldType\Page\Parts
Definition: FieldType/Page/Parts/Base.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.