[xoops-cvslog 4925] CVS update: xoops2jp/html/modules/legacyRender/kernel

Back to archive index

Minahito minah****@users*****
2006年 10月 11日 (水) 17:10:32 JST


Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderTarget.class.php
diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderTarget.class.php:1.1.2.3 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderTarget.class.php:1.1.2.3.2.1
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderTarget.class.php:1.1.2.3	Tue Mar 28 22:30:50 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderTarget.class.php	Wed Oct 11 17:10:32 2006
@@ -1,10 +1,15 @@
 <?php
 /**
- * @version $Id: Legacy_RenderTarget.class.php,v 1.1.2.3 2006/03/28 13:30:50 minahito Exp $
+ * @version $Id: Legacy_RenderTarget.class.php,v 1.1.2.3.2.1 2006/10/11 08:10:32 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
+define("LEGACY_RENDER_TARGET_TYPE_BUFFER", null);
+define("LEGACY_RENDER_TARGET_TYPE_THEME", 'theme');
+define("LEGACY_RENDER_TARGET_TYPE_BLOCK", 'block');
+define("LEGACY_RENDER_TARGET_TYPE_MAIN", 'main');
+
 class Legacy_AbstractThemeRenderTarget extends XCube_RenderTarget
 {
 	var $mSendHeaderFlag=false;
@@ -12,7 +17,7 @@
 	function Legacy_AbstractThemeRenderTarget()
 	{
 		parent::XCube_RenderTarget();
-		$this->setType(XCUBE_RENDER_TARGET_TYPE_THEME);
+		$this->setAttribute('legacy_buffertype', LEGACY_RENDER_TARGET_TYPE_THEME);
 	}
 
 	function sendHeader()
@@ -66,7 +71,7 @@
 	function Legacy_RenderTargetMain()
 	{
 		parent::XCube_RenderTarget();
-		$this->setType(XCUBE_RENDER_TARGET_TYPE_MAIN);
+		$this->setAttribute('legacy_buffertype', LEGACY_RENDER_TARGET_TYPE_MAIN);
 	}
 }
 


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