[xoops-cvslog 3715] CVS update: xoops2jp/html/modules/legacyRender/preload

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 7月 27日 (木) 15:11:56 JST


Index: xoops2jp/html/modules/legacyRender/preload/Cacheclear.class.php
diff -u xoops2jp/html/modules/legacyRender/preload/Cacheclear.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/preload/Cacheclear.class.php:1.1.2.2
--- xoops2jp/html/modules/legacyRender/preload/Cacheclear.class.php:1.1.2.1	Sat Jul  8 11:20:47 2006
+++ xoops2jp/html/modules/legacyRender/preload/Cacheclear.class.php	Thu Jul 27 15:11:56 2006
@@ -1,14 +1,19 @@
 <?php
+/**
+ * @package legacyRender
+ * @version $Id: Cacheclear.class.php,v 1.1.2.2 2006/07/27 06:11:56 minahito Exp $
+ */
+
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
 class legacyRender_Cacheclear extends XCube_ActionFilter {
     function preBlockFilter()
     {
-        $this->mController->mRoot->mEventManager->add('Module.Legacy.ModuleInstall.Success', new XCube_Delegate("legacyRender_Cacheclear", "callback"));
-        $this->mController->mRoot->mEventManager->add('Module.Legacy.ModuleUpdate.Success', new XCube_Delegate("legacyRender_Cacheclear", "callback"));
+		$this->mController->mRoot->mDelegateManager->add('Legacy_ModuleInstallAction.InstallSuccess', 'legacyRender_Cacheclear::cacheClear');
+		$this->mController->mRoot->mDelegateManager->add('Legacy_ModuleUpdateAction.UpdateSuccess', 'legacyRender_Cacheclear::cacheClear');
     }
     
-    function callback(&$action, &$module)
+    function cacheClear(&$module)
 	{
 		$handler =& xoops_getmodulehandler('tplfile', 'legacyRender');
 		


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る