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/Page.php | |
parent | aa8898ae00beaa0ac7e65e45c5f28199b25a9267 (diff) | |
download | cms-4efa19d4357ab204d62397f1849e4651906e0e70.zip |
fichiers manquant du commit précédent
Diffstat (limited to 'src/model/entities/Page.php')
-rw-r--r-- | src/model/entities/Page.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/model/entities/Page.php b/src/model/entities/Page.php index 9564342..1ad9ddb 100644 --- a/src/model/entities/Page.php +++ b/src/model/entities/Page.php | |||
@@ -71,6 +71,10 @@ class Page | |||
71 | { | 71 | { |
72 | return $this->name_page; | 72 | return $this->name_page; |
73 | } | 73 | } |
74 | public function setPageName(string $name): void | ||
75 | { | ||
76 | $this->name_page = $name; | ||
77 | } | ||
74 | public function getPagePath(): string | 78 | public function getPagePath(): string |
75 | { | 79 | { |
76 | return $this->page_path; | 80 | return $this->page_path; |
@@ -83,6 +87,10 @@ class Page | |||
83 | { | 87 | { |
84 | return $this->end_of_path; | 88 | return $this->end_of_path; |
85 | } | 89 | } |
90 | public function setEndOfPath(string $end_of_path):void | ||
91 | { | ||
92 | $this->end_of_path = $end_of_path; | ||
93 | } | ||
86 | public function isReachable(): bool | 94 | public function isReachable(): bool |
87 | { | 95 | { |
88 | return $this->reachable; | 96 | return $this->reachable; |