aboutsummaryrefslogtreecommitdiff
path: root/src/model/entities/NodeData.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/entities/NodeData.php')
-rw-r--r--src/model/entities/NodeData.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/model/entities/NodeData.php b/src/model/entities/NodeData.php
index 49bfb3c..c55f6a1 100644
--- a/src/model/entities/NodeData.php
+++ b/src/model/entities/NodeData.php
@@ -44,9 +44,6 @@ class NodeData
44 #[ORM\OneToMany(mappedBy: 'node_data', targetEntity: AssetEmployment::class, cascade: ['persist', 'remove'])] 44 #[ORM\OneToMany(mappedBy: 'node_data', targetEntity: AssetEmployment::class, cascade: ['persist', 'remove'])]
45 private Collection $asset_employment; 45 private Collection $asset_employment;
46 46
47 /*#[ORM\OneToMany(mappedBy: 'node_data', targetEntity: Email::class, cascade: ['persist', 'remove'])] // => noeud "form", inutilisé et conflit avec le tableau $emails
48 private Collection $emails;*/
49
50 private int $nb_pages = 1; 47 private int $nb_pages = 1;
51 private array $emails = []; // => noeud "show_emails" 48 private array $emails = []; // => noeud "show_emails"
52 49
@@ -157,6 +154,7 @@ class NodeData
157 return $nda->getAsset() ?? null; 154 return $nda->getAsset() ?? null;
158 } 155 }
159 156
157 // pour affichage page Courriels
160 public function getEmails(): array // appelée dans ShowEmailsBuilder 158 public function getEmails(): array // appelée dans ShowEmailsBuilder
161 { 159 {
162 return $this->emails; 160 return $this->emails;