From 4517c2bbb2d34f81d0fb1e9ded118f98aaa08077 Mon Sep 17 00:00:00 2001 From: neoraider Date: Sun, 5 Mar 2006 00:40:01 +0000 Subject: Unn?tige Methoden aus der Nav-Klasse entfernt --- code/nav.inc.php | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/code/nav.inc.php b/code/nav.inc.php index 0a28cba..fbaf8e1 100644 --- a/code/nav.inc.php +++ b/code/nav.inc.php @@ -14,15 +14,15 @@ } foreach($this->entries as $entry) - if($entry->GetParentId() != 0) - $this->entries[$entry->GetParentId()]->Add($entry); + if($entry->parent != 0) + $this->entries[$entry->parent]->Add($entry); } function ParseEntries() { $ret = ''; @@ -45,22 +45,6 @@ array_push($this->children, $entry); } - function GetChildren() { - return $this->children; - } - - function GetParentId() { - return $this->parent; - } - - function GetText() { - return $this->text; - } - - function GetLink() { - return $this->link; - } - function Parse() { $ccount = 0; $ret = '
  • '; -- cgit v1.2.3