[xoops-cvslog 3343] CVS update: xoops2jp/html/modules/user/preload

Back to archive index

Minahito minah****@users*****
2006年 6月 22日 (木) 14:38:22 JST


Index: xoops2jp/html/modules/user/preload/Preload.class.php
diff -u /dev/null xoops2jp/html/modules/user/preload/Preload.class.php:1.1.2.1
--- /dev/null	Thu Jun 22 14:38:22 2006
+++ xoops2jp/html/modules/user/preload/Preload.class.php	Thu Jun 22 14:38:22 2006
@@ -0,0 +1,14 @@
+<?php
+
+if (!defined('XOOPS_ROOT_PATH')) die();
+
+class User_Preload extends XCube_ActionFilter {
+	function preBlockFilter()
+	{
+		require_once XOOPS_ROOT_PATH . "/modules/user/kernel/UserEventProxyRegister.class.php";
+		$this->mController->mRoot->mEventManager->addProxyRegister(new UserEventProxyRegister());
+		$this->mController->mRoot->mEventManager->add("Site.Login",new XCube_Delegate("UserCommonEventFunction","Login"));	// TODO
+	}
+}
+
+?>
\ No newline at end of file


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