[xoops-cvslog 6096] CVS update: xoops2jp/html/core

Back to archive index

Minahito minah****@users*****
2007年 1月 17日 (水) 14:40:42 JST


Index: xoops2jp/html/core/XCube_Root.class.php
diff -u xoops2jp/html/core/XCube_Root.class.php:1.1.2.6 xoops2jp/html/core/XCube_Root.class.php:1.1.2.7
--- xoops2jp/html/core/XCube_Root.class.php:1.1.2.6	Tue Dec 26 23:30:54 2006
+++ xoops2jp/html/core/XCube_Root.class.php	Wed Jan 17 14:40:41 2007
@@ -2,7 +2,7 @@
 /**
  *
  * @package XCube
- * @version $Id: XCube_Root.class.php,v 1.1.2.6 2006/12/26 14:30:54 nobunobu Exp $
+ * @version $Id: XCube_Root.class.php,v 1.1.2.7 2007/01/17 05:40:41 minahito Exp $
  * @copyright Copyright 2005, 2006 XOOPS Cube Project <http://xoopscube.org/>
  * @license http://xoopscube.sourceforge.net/bsd_licenses.txt Modified BSD license
  *
@@ -35,7 +35,11 @@
 	
 	var $mServiceManager = null;
 
-	var $mRenderSystems = array();
+	/**
+	 * @public
+	 * @remark Only the kernel system should access this member property.
+	 */
+	var $_mRenderSystems = array();
 	
 	var $mSiteConfig = array();
 	
@@ -259,7 +263,7 @@
 	{
 		return $this->mServiceManager;
 	}
-
+	
 	/**
 	 * Return the instance of the render system by the name. If the render
 	 * system specified by $name doesn't exist, raise fatal error. This member
@@ -270,23 +274,23 @@
 	 */
 	function &getRenderSystem($name)
 	{
-		if (isset($this->mRenderSystems[$name])) {
-			return $this->mRenderSystems[$name];
+		if (isset($this->_mRenderSystems[$name])) {
+			return $this->_mRenderSystems[$name];
 		}
 		
 		//
 		// create
 		//
 		$chunkName = $this->mSiteConfig['RenderSystems'][$name];
-		$this->mRenderSystems[$name] =& $this->_createInstance($this->mSiteConfig[$chunkName]['class'], $this->mSiteConfig[$chunkName]['path']);
+		$this->_mRenderSystems[$name] =& $this->_createInstance($this->mSiteConfig[$chunkName]['class'], $this->mSiteConfig[$chunkName]['path']);
 		
-		if (!is_object($this->mRenderSystems[$name])) {
+		if (!is_object($this->_mRenderSystems[$name])) {
 			die("NO");
 		}
 		
-		$this->mRenderSystems[$name]->prepare($this->mController);
+		$this->_mRenderSystems[$name]->prepare($this->mController);
 		
-		return $this->mRenderSystems[$name];
+		return $this->_mRenderSystems[$name];
 	}
 	
 	function setPermissionManager(&$manager)


xoops-cvslog メーリングリストの案内
Back to archive index