[limb-svn] r6277 - 3.x/trunk/limb/view/src

svn at limb-project.com svn at limb-project.com
Sat Sep 8 20:44:56 MSD 2007


Author: korchasa
Date: 2007-09-08 20:44:56 +0400 (Sat, 08 Sep 2007)
New Revision: 6277
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6277

Modified:
   3.x/trunk/limb/view/src/lmbBlitzView.class.php
Log:
small refactoring

Modified: 3.x/trunk/limb/view/src/lmbBlitzView.class.php
===================================================================
--- 3.x/trunk/limb/view/src/lmbBlitzView.class.php	2007-09-08 16:00:16 UTC (rev 6276)
+++ 3.x/trunk/limb/view/src/lmbBlitzView.class.php	2007-09-08 16:44:56 UTC (rev 6277)
@@ -32,17 +32,11 @@
         return $this->templateInstance;
     }
     
-    function processVariables()
+    function render()
     {
-        $vars = $this->getVariables();
-        foreach ($vars as $name => $value) {
+        foreach ($this->getVariables() as $name => $value) {
             $this->getTemplateInstance()->set(array($name => $value));
         }
-    }
-
-    function render()
-    {
-        $this->processVariables();
         return $this->getTemplateInstance()->parse();
     }
 



More information about the limb-svn mailing list