Created
February 26, 2010 20:41
-
-
Save fritz0705/316133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/class/Controller.php b/class/Controller.php | |
index 86d7624..2ac69e3 100755 | |
--- a/class/Controller.php | |
+++ b/class/Controller.php | |
@@ -66,5 +66,14 @@ abstract class Controller { | |
* the main Controller View | |
*/ | |
public abstract function index(); | |
+ | |
+ /** | |
+ * a method by the controller --Fritz | |
+ * | |
+ * @author Fritz Grimpen <fgrimpen@t-online.de> | |
+ */ | |
+ public function render($view = null) { | |
+ $this->smarty->display($this, $view); | |
+ } | |
} | |
-?> | |
\ No newline at end of file | |
+?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment