summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-03-05 01:40:01 +0100
committerneoraider <devnull@localhost>2006-03-05 01:40:01 +0100
commit4517c2bbb2d34f81d0fb1e9ded118f98aaa08077 (patch)
treea895e5e03e5e34683f798c548eba1190abeee20f
parentd8edab617c02409178e82a59ce704d7da5de6d9a (diff)
downloadneon-4517c2bbb2d34f81d0fb1e9ded118f98aaa08077.tar
neon-4517c2bbb2d34f81d0fb1e9ded118f98aaa08077.zip
Unn?tige Methoden aus der Nav-Klasse entfernt
-rw-r--r--code/nav.inc.php22
1 files 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 = '<ul>';
foreach($this->entries as $entry)
- if($entry->GetParentId() == 0)
+ if($entry->parent == 0)
$ret .= $entry->Parse();
$ret .= '</ul>';
@@ -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 = '<li>';