Skip to content
Browse files

Merge pull request #13 from bubbafoley/master

add get_theme() to retrieve current theme
  • Loading branch information...
2 parents 33914cb + 13e5867 commit b190a524804fa2500efac4bf6424cae27c6ab95a @philsturgeon committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 libraries/Template.php
View
11 libraries/Template.php
@@ -373,6 +373,17 @@ public function set_theme($theme = NULL)
}
/**
+ * Get the current theme
+ *
+ * @access public
+ * @return string The current theme
+ */
+ public function get_theme()
+ {
+ return $this->_theme;
+ }
+
+ /**
* Get the current theme path
*
* @access public

0 comments on commit b190a52

Please sign in to comment.
Something went wrong with that request. Please try again.