OSDN Git Service

renderer: fixed modifier
authorSotaro KARASAWA <sotarok@users.sourceforge.jp>
Sat, 29 Jan 2011 11:34:08 +0000 (20:34 +0900)
committerSotaro KARASAWA <sotarok@users.sourceforge.jp>
Sat, 29 Jan 2011 11:34:08 +0000 (20:34 +0900)
class/Renderer.php
extlib/Plugin/Filter/Debugtoolbar.php

index 937f81c..77351ef 100644 (file)
@@ -23,26 +23,26 @@ class Ethna_Renderer
      *  @access private
      */
 
-    /** @var    object  Ethna_Controller    controllerオブジェクト */
-    var $controller;
+    /** @protected    object  Ethna_Controller    controllerオブジェクト */
+    protected $controller;
 
-    /** @var    object  Ethna_Controller    controllerオブジェクト($controllerの省略形) */
-    var $ctl;
+    /** @protected    object  Ethna_Controller    controllerオブジェクト($controllerの省略形) */
+    protected $ctl;
 
-    /** @var    array   [appid]-ini.phpのレンダラ設定 */
-    var $config;
+    /** @protected    array   [appid]-ini.phpのレンダラ設定 */
+    protected $config;
 
-    /** @var    string  template directory  */
-    var $template_dir;
+    /** @protected    string  template directory  */
+    protected $template_dir;
 
-    /** @var    string  template engine */
-    var $engine;
+    /** @protected    string  template engine */
+    protected $engine;
 
-    /** @var    string  template file */
-    var $template;
+    /** @protected    string  template file */
+    protected $template;
 
-    /** @var    string  テンプレート変数 */
-    var $prop;
+    /** @protected    string  テンプレート変数 */
+    protected $prop;
     
     /** @protected    string  レンダラプラグイン(Ethna_Pluginとは関係なし) */
     protected $plugin_registry;
index 913c67d..513078d 100644 (file)
@@ -680,7 +680,7 @@ EOF;
 
         // get template directory
         $r = $c->getRenderer();
-        $smarty = $r->engine;
+        $smarty = $r->getEngine();
 
         $vars = Smarty_Internal_Debug::get_debug_vars($smarty);