'; $nav .= $this->build_navigation($tree, $path, $current_url, $base_page, $mode); $nav .= ''; return $nav; } private function build_navigation($tree, $path, $current_url, $base_page, $mode) { $nav = ''; foreach ($tree->value as $node) { $url = $node->uri; if ($node->type === \TodayMade\Daux\Directory_Entry::FILE_TYPE) { if ($node->value === 'index') continue; $nav .= '