summaryrefslogtreecommitdiff
path: root/core/libraries/Theme_View.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-07 19:45:46 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-07 19:45:46 +0000
commit954fcf034238458f292c9f5ec72c6d4b101aac0d (patch)
treee6d5c6d850137e13d970d4f349f6ebf2103fc749 /core/libraries/Theme_View.php
parentb409a376f3689e51bb50f9716c1384d9b2013832 (diff)
Merge gallery3/branches/menus back into gallery3/trunk
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(