[xoops-cvslog 4891] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Minahito minah****@users*****
2006年 10月 7日 (土) 18:01:56 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.11.2.3 xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.11.2.4
--- xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.11.2.3	Sat Oct  7 16:46:38 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php	Sat Oct  7 18:01:56 2006
@@ -20,10 +20,10 @@
 		$action = isset($_REQUEST['op']) ? ucfirst(xoops_getrequest('op')) : "List";
 		$moduleRunner->setMode(LEGACY_FRAME_MODE_IMAGE);
 		$moduleRunner->setActionName($action);
+		
+		$root->mController->mExecute->add(array(&$moduleRunner, 'execute'));
 
-		$root->mController->setActionStrategy($moduleRunner);
-
-		$root->mController->executeAction();
+		$root->mController->execute();
 
 		$root->mController->executeView();
 	}
@@ -38,9 +38,9 @@
 		$moduleRunner =& new Legacy_ActionFrame(false);
 		$moduleRunner->setActionName('Backend');
 
-		$root->mController->setActionStrategy($moduleRunner);
+		$root->mController->mExecute->add(array(&$moduleRunner, 'execute'));
 
-		$root->mController->executeAction();
+		$root->mController->execute();
 
 		$root->mController->executeView();
 	}
@@ -77,11 +77,11 @@
 		$moduleRunner->setMode(LEGACY_FRAME_MODE_MISC);
 		$moduleRunner->setActionName($actionName);
 
-		$root->mController->setActionStrategy($moduleRunner);
+		$root->mController->mExecute->add(array(&$moduleRunner, 'execute'));
 
 		$root->mController->setDialogMode(true);
 
-		$root->mController->executeAction();
+		$root->mController->execute();
 
 		$root->mController->executeView();
 	}


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