From 423755b019a09111b971e36c53e2557e2f5a704f Mon Sep 17 00:00:00 2001 From: polo Date: Tue, 16 Dec 2025 22:41:57 +0100 Subject: page emails, application du RGPD: table email et nettoyeur, renommage de $id_email --- src/model/entities/Node.php | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) (limited to 'src/model/entities/Node.php') diff --git a/src/model/entities/Node.php b/src/model/entities/Node.php index fe3a1e5..71c159d 100644 --- a/src/model/entities/Node.php +++ b/src/model/entities/Node.php @@ -72,42 +72,7 @@ class Node { $this->name_node = $name; }*/ - - /*public function getAttributes(): array - { - return $this->attributes; - } - public function setDefaultAttributes(array $attributes): void - { - $this->attributes = $attributes; - } - public function useDefaultAttributes(): void - { - $this->attributes = self::$default_attributes; - } - public function addAttribute(string $key, string $value): void - { - if(!isset($this->attributes[$key])) { // sécurité $key inexistante - $this->attributes[$key] = []; - } - if(!in_array($value, $this->attributes[$key])){ - $this->attributes[$key][] = $value; - } - }*/ - /*public function removeAttribute(string $key, string $value): void - { - if(isset($this->attributes[$key])) // sécurité $key inexistante - { - // supprime et réindex avec un nouveau tableau - $tmp_array = $this->attributes[$key]; - $this->attributes[$key] = []; - foreach($tmp_array as $entry){ - if($entry !== $value){ - $this->attributes[$key][] = $entry; - } - } - } - }*/ + public function getParent(): ?self { return $this->parent; -- cgit v1.2.3