diff options
-rw-r--r-- | core/libraries/Theme.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/libraries/Theme.php b/core/libraries/Theme.php index 6ae08a4b..484673eb 100644 --- a/core/libraries/Theme.php +++ b/core/libraries/Theme.php @@ -34,6 +34,10 @@ class Theme_Core { return $this->template->item; } + public function page_type() { + return $this->template->page_type; + } + public function display($page_name, $view_class="View") { return new $view_class($page_name); } |