[xoops-cvslog 3776] CVS update: xoops2jp/html/modules/base/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 7月 31日 (月) 19:31:40 JST


Index: xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php:1.1.2.5 xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php:1.1.2.6
--- xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php:1.1.2.5	Tue Apr 11 19:03:38 2006
+++ xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php	Mon Jul 31 19:31:40 2006
@@ -75,6 +75,16 @@
 	var $mModuleRecords=null;
 	var $mRecords=null;
 	var $mActionForm;
+	
+	var $mSearchAction = null;
+	
+	function Legacy_ActSearchAction($flag)
+	{
+		parent::Legacy_Action($flag);
+		
+		$this->mSearchAction =& new XCube_NewDelegate();
+		$this->mSearchAction->register('Legacy_ActSearchAction.SearchAction');
+	}
 
 	function prepare(&$controller,&$xoopsUser)
 	{
@@ -132,7 +142,7 @@
 			return LEGACY_FRAME_VIEW_INPUT;
 
 		$eventArgs=new ActionSearchEventArgs($this->mActionForm->getVar('keywords'));
-		$controller->mRoot->mEventManager->raiseEvent("Module.Admin.ActionSearch",$this,$eventArgs);
+		$this->mSearchAction->call(new XCube_Ref($eventArgs));
 
 		if($eventArgs->hasRecord()) {
 			$this->mRecords=&$eventArgs->getRecords();


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