diff options
| author | polo <ordipolo@gmx.fr> | 2025-12-16 22:41:57 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-12-16 22:41:57 +0100 |
| commit | 423755b019a09111b971e36c53e2557e2f5a704f (patch) | |
| tree | 022c0a911133d676dd8e4e90379f8b186863fc88 /src/model/entities/NodeData.php | |
| parent | 22da81bbcb9bb61fa484c9af6fbb667b685d2f9b (diff) | |
| download | cms-423755b019a09111b971e36c53e2557e2f5a704f.tar.gz cms-423755b019a09111b971e36c53e2557e2f5a704f.tar.bz2 cms-423755b019a09111b971e36c53e2557e2f5a704f.zip | |
page emails, application du RGPD: table email et nettoyeur, renommage de $id_email
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 |
