[xoops-cvslog 4786] CVS update: xoops2jp/html/modules/legacyRender/class

Back to archive index

Minahito minah****@users*****
2006年 10月 5日 (木) 18:10:12 JST


Index: xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php
diff -u xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php:1.1.2.6.2.1 xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php:1.1.2.6.2.2
--- xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php:1.1.2.6.2.1	Thu Sep 28 14:04:20 2006
+++ xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php	Thu Oct  5 18:10:12 2006
@@ -65,9 +65,9 @@
 		$handler =& xoops_gethandler('config');
 		$moduleConfig =& $handler->getConfigsByDirname('legacyRender');
 	
-		$this->mAction->prepare($controller, $controller->getXoopsUser(), $moduleConfig);
+		$this->mAction->prepare($controller, $controller->mRoot->mContext->mXoopsUser, $moduleConfig);
 
-		if (!$this->mAction->hasPermission($controller, $controller->getXoopsUser())) {
+		if (!$this->mAction->hasPermission($controller, $controller->mRoot->mContext->mXoopsUser)) {
 			if ($this->mAdminFlag) {
 				$controller->executeForward(XOOPS_URL . "/admin.php");
 			}
@@ -77,35 +77,35 @@
 		}
 	
 		if (xoops_getenv("REQUEST_METHOD") == "POST") {
-			$viewStatus = $this->mAction->execute($controller, $controller->getXoopsUser());
+			$viewStatus = $this->mAction->execute($controller, $controller->mRoot->mContext->mXoopsUser);
 		}
 		else {
-			$viewStatus = $this->mAction->getDefaultView($controller, $controller->getXoopsUser());
+			$viewStatus = $this->mAction->getDefaultView($controller, $controller->mRoot->mContext->mXoopsUser);
 		}
 	
 		switch($viewStatus) {
 			case LEGACYRENDER_FRAME_VIEW_SUCCESS:
-				$this->mAction->executeViewSuccess($controller, $controller->getXoopsUser(), $controller->mModuleController->mRenderTarget);
+				$this->mAction->executeViewSuccess($controller, $controller->mRoot->mContext->mXoopsUser, $controller->mRoot->mContext->mModule->getRenderBuffer());
 				break;
 		
 			case LEGACYRENDER_FRAME_VIEW_ERROR:
-				$this->mAction->executeViewError($controller, $controller->getXoopsUser(), $controller->mModuleController->mRenderTarget);
+				$this->mAction->executeViewError($controller, $controller->mRoot->mContext->mXoopsUser, $controller->mRoot->mContext->mModule->getRenderBuffer());
 				break;
 		
 			case LEGACYRENDER_FRAME_VIEW_INDEX:
-				$this->mAction->executeViewIndex($controller, $controller->getXoopsUser(), $controller->mModuleController->mRenderTarget);
+				$this->mAction->executeViewIndex($controller, $controller->mRoot->mContext->mXoopsUser, $controller->mRoot->mContext->mModule->getRenderBuffer());
 				break;
 		
 			case LEGACYRENDER_FRAME_VIEW_INPUT:
-				$this->mAction->executeViewInput($controller, $controller->getXoopsUser(), $controller->mModuleController->mRenderTarget);
+				$this->mAction->executeViewInput($controller, $controller->mRoot->mContext->mXoopsUser, $controller->mRoot->mContext->mModule->getRenderBuffer());
 				break;
 		
 			case LEGACYRENDER_FRAME_VIEW_PREVIEW:
-				$this->mAction->executeViewPreview($controller, $controller->getXoopsUser(), $controller->mModuleController->mRenderTarget);
+				$this->mAction->executeViewPreview($controller, $controller->mRoot->mContext->mXoopsUser, $controller->mRoot->mContext->mModule->getRenderBuffer());
 				break;
 		
 			case LEGACYRENDER_FRAME_VIEW_CANCEL:
-				$this->mAction->executeViewCancel($controller, $controller->getXoopsUser(), $controller->mModuleController->mRenderTarget);
+				$this->mAction->executeViewCancel($controller, $controller->mRoot->mContext->mXoopsUser, $controller->mRoot->mContext->mModule->getRenderBuffer());
 				break;
 		}
 	}


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