diff options
Diffstat (limited to 'src/model/entities/NodeData.php')
| -rw-r--r-- | src/model/entities/NodeData.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/model/entities/NodeData.php b/src/model/entities/NodeData.php index b25b540..19670fe 100644 --- a/src/model/entities/NodeData.php +++ b/src/model/entities/NodeData.php | |||
| @@ -45,6 +45,7 @@ class NodeData | |||
| 45 | private Collection $nda_collection; | 45 | private Collection $nda_collection; |
| 46 | 46 | ||
| 47 | private int $nb_pages = 1; | 47 | private int $nb_pages = 1; |
| 48 | private array $emails = []; // noeud show_emails uniquement | ||
| 48 | 49 | ||
| 49 | public function __construct(array $data, Node $node, Collection $nda_collection = new ArrayCollection, ?string $presentation = null, ?bool $chrono_order = null) | 50 | public function __construct(array $data, Node $node, Collection $nda_collection = new ArrayCollection, ?string $presentation = null, ?bool $chrono_order = null) |
| 50 | { | 51 | { |
| @@ -179,4 +180,13 @@ class NodeData | |||
| 179 | $this->new_nda = new NodeDataAsset($this, $asset, $role); | 180 | $this->new_nda = new NodeDataAsset($this, $asset, $role); |
| 180 | $this->addNodeDataAsset($this->new_nda); | 181 | $this->addNodeDataAsset($this->new_nda); |
| 181 | }*/ | 182 | }*/ |
| 183 | |||
| 184 | public function getEmails(): array | ||
| 185 | { | ||
| 186 | return $this->emails; | ||
| 187 | } | ||
| 188 | public function setEmails(array $emails): void | ||
| 189 | { | ||
| 190 | $this->emails = $emails; | ||
| 191 | } | ||
| 182 | } \ No newline at end of file | 192 | } \ No newline at end of file |
