diff options
| author | polo <ordipolo@gmx.fr> | 2025-05-10 23:51:37 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-05-10 23:51:37 +0200 |
| commit | 4efa19d4357ab204d62397f1849e4651906e0e70 (patch) | |
| tree | d35c82fdf20762fd6d778eba9bc6d76c9098e9b6 /src/model/entities/NodeData.php | |
| parent | aa8898ae00beaa0ac7e65e45c5f28199b25a9267 (diff) | |
| download | cms-4efa19d4357ab204d62397f1849e4651906e0e70.tar.gz cms-4efa19d4357ab204d62397f1849e4651906e0e70.tar.bz2 cms-4efa19d4357ab204d62397f1849e4651906e0e70.zip | |
fichiers manquant du commit précédent
Diffstat (limited to 'src/model/entities/NodeData.php')
| -rw-r--r-- | src/model/entities/NodeData.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/model/entities/NodeData.php b/src/model/entities/NodeData.php index aaffb6a..8f0f511 100644 --- a/src/model/entities/NodeData.php +++ b/src/model/entities/NodeData.php | |||
| @@ -43,13 +43,21 @@ class NodeData | |||
| 43 | $this->images = $images; | 43 | $this->images = $images; |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public function getId(): int | ||
| 47 | { | ||
| 48 | return $this->id_node_data; | ||
| 49 | } | ||
| 46 | public function getData(): array | 50 | public function getData(): array |
| 47 | { | 51 | { |
| 48 | return $this->data; | 52 | return $this->data; |
| 49 | } | 53 | } |
| 50 | public function setData(array $data): void | 54 | /*public function setData(array $data): void |
| 51 | { | 55 | { |
| 52 | $this->data = $data; | 56 | $this->data = $data; |
| 57 | }*/ | ||
| 58 | public function updateData(string $key, string $value): void | ||
| 59 | { | ||
| 60 | $this->data[$key] = $value; | ||
| 53 | } | 61 | } |
| 54 | /*public function setNode(Node $node): void | 62 | /*public function setNode(Node $node): void |
| 55 | { | 63 | { |
