aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-10-03 15:42:22 +0200
committerpolo <ordipolo@gmx.fr>2025-10-03 15:42:22 +0200
commit9f88389d78755d7c69c29e9db8f114fd1dbef034 (patch)
tree2158ac1292fcd973563adf2a5836b13354fc8207 /src/model
parentd6d7351259e104ab10b5dda3483c281830ce4ff3 (diff)
downloadcms-9f88389d78755d7c69c29e9db8f114fd1dbef034.zip
regression AbstractBuilder->render inaccessible, séparation dans Director __construct/makeMenuAndPaths
Diffstat (limited to 'src/model')
-rw-r--r--src/model/entities/Node.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/model/entities/Node.php b/src/model/entities/Node.php
index ec5f081..76ef74b 100644
--- a/src/model/entities/Node.php
+++ b/src/model/entities/Node.php
@@ -177,7 +177,8 @@ class Node
177 } 177 }
178 } 178 }
179 179
180 private function sortNews(bool $chrono = false) // affichage du plus récent au plus ancien par défaut 180 // remplacée par "ORDER BY a.date_time" en DQL
181 /*private function sortNews(bool $chrono = false) // affichage du plus récent au plus ancien par défaut
181 { 182 {
182 // tri par insertion similaire à Position::sortChildren 183 // tri par insertion similaire à Position::sortChildren
183 for($i = 1; $i < count($this->children); $i++){ 184 for($i = 1; $i < count($this->children); $i++){
@@ -192,7 +193,7 @@ class Node
192 } 193 }
193 $this->children[$j + 1] = $tmp; 194 $this->children[$j + 1] = $tmp;
194 } 195 }
195 } 196 }*/
196 197
197 public function removeChild(self $child): void 198 public function removeChild(self $child): void
198 { 199 {