summaryrefslogtreecommitdiff
path: root/src/model/Menu.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-04-22 00:39:54 +0200
committerpolo <ordipolo@gmx.fr>2025-04-22 00:39:54 +0200
commita3ba7dde60dc1c94b7170ec28266a966e5004d33 (patch)
tree279699afbf52270780dff8d1a4756efe217c15f6 /src/model/Menu.php
parenteb3e1eb8c8365d3b3d1d39f24314ba420255afc2 (diff)
downloadcms-a3ba7dde60dc1c94b7170ec28266a966e5004d33.zip
page menu et chemin, partie 2
Diffstat (limited to 'src/model/Menu.php')
-rw-r--r--src/model/Menu.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/model/Menu.php b/src/model/Menu.php
index 403accf..10cf3d5 100644
--- a/src/model/Menu.php
+++ b/src/model/Menu.php
@@ -38,12 +38,6 @@ class Menu extends Page
38 foreach($this->getChildren() as $page){ 38 foreach($this->getChildren() as $page){
39 $page->fillChildrenPagePath(); 39 $page->fillChildrenPagePath();
40 } 40 }
41
42 /*for($i = 0; $i < count($this->getChildren()[1]->getChildren()); $i++){
43 echo $this->getChildren()[1]->getChildren()[$i]->getEndOfPath() . ' - ';
44 echo $this->getChildren()[1]->getChildren()[$i]->getPageName() . '<br>';
45 }*/
46 //die;
47 } 41 }
48 42
49 public function getOtherPages(): array 43 public function getOtherPages(): array