1 | <?php |
||
15 | final class InformationCollected extends Event |
||
16 | { |
||
17 | /** |
||
18 | * @var \Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionData |
||
19 | */ |
||
20 | protected $data; |
||
21 | |||
22 | /** |
||
23 | * @var \Netgen\InformationCollection\API\Value\DataTransfer\AdditionalContent |
||
24 | */ |
||
25 | protected $additionalContent; |
||
26 | |||
27 | /** |
||
28 | * @var \eZ\Publish\API\Repository\Values\Content\Location |
||
29 | */ |
||
30 | protected $location; |
||
31 | |||
32 | /** |
||
33 | * InformationCollected constructor. |
||
34 | * |
||
35 | * @param \Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionData $data |
||
36 | * @param \eZ\Publish\API\Repository\Values\Content\Content $additionalContent |
||
37 | */ |
||
38 | public function __construct( |
||
48 | |||
49 | /** |
||
50 | * Return collected data. |
||
51 | * |
||
52 | * @return \Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionData |
||
53 | */ |
||
54 | public function getInformationCollectionStruct(): InformationCollectionData |
||
58 | |||
59 | /** |
||
60 | * Return ContentType. |
||
61 | * |
||
62 | * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
||
63 | */ |
||
64 | public function getContentType(): ContentType |
||
70 | |||
71 | /** |
||
72 | * Return Location. |
||
73 | * |
||
74 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
||
75 | */ |
||
76 | public function getContent(): Content |
||
81 | |||
82 | /** |
||
83 | * @return \eZ\Publish\API\Repository\Values\Content\ContentInfo |
||
84 | */ |
||
85 | public function getContentInfo(): ContentInfo |
||
91 | |||
92 | /** |
||
93 | * @return \eZ\Publish\API\Repository\Values\Content\Location |
||
94 | */ |
||
95 | public function getLocation(): Location |
||
99 | |||
100 | /** |
||
101 | * Returns additional content |
||
102 | * This can be ez content or site api content. |
||
103 | * |
||
104 | * @return \Netgen\InformationCollection\API\Value\DataTransfer\AdditionalContent |
||
105 | */ |
||
106 | public function getAdditionalContent(): AdditionalContent |
||
110 | } |
||
111 |