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

Back to archive index

Minahito minah****@users*****
2006年 5月 27日 (土) 22:07:24 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.3 xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.4
--- xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.3	Fri May 26 21:08:15 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php	Sat May 27 22:07:24 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.3 2006/05/26 12:08:15 minahito Exp $
+ * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.4 2006/05/27 13:07:24 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -25,6 +25,20 @@
 
 		$controller->executeView();
 	}
+
+	function AccessToSearch(&$controller,$eventArgs)
+	{
+		require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php";
+		
+		$moduleRunner =& new Legacy_ActionFrame(false);
+		$moduleRunner->setActionName('Search' . ucfirst(xoops_getrequest('action')));
+
+		$controller->setActionStrategy($moduleRunner);
+
+		$controller->executeAction();
+
+		$controller->executeView();
+	}
 }
 
 ?>
\ No newline at end of file


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