summaryrefslogtreecommitdiff
path: root/core/libraries/Theme_View.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/libraries/Theme_View.php')
-rw-r--r--core/libraries/Theme_View.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php
index 16cc8df9..1c388596 100644
--- a/core/libraries/Theme_View.php
+++ b/core/libraries/Theme_View.php
@@ -57,6 +57,12 @@ class Theme_View_Core extends View {
return new $view_class($page_name);
}
+ public function site_navigation() {
+ $menu = menus::get_menu_items($this)->__toString();
+ Kohana::log("debug", sprintf("[%s%s] site_navigation: %s", __FILE__, __LINE__, $menu));
+ return $menu;
+ }
+
public function pager() {
$this->pagination = new Pagination();
$this->pagination->initialize(