Minahito
minah****@users*****
2006年 10月 31日 (火) 15:06:18 JST
Index: xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php diff -u xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.2 xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.2 Tue Oct 17 01:01:05 2006 +++ xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php Tue Oct 31 15:06:17 2006 @@ -130,6 +130,18 @@ return $retBlock; } + + function raiseUserControlEvent() + { + $root =& XCube_Root::getSingleton(); + foreach (array_keys($_REQUEST) as $key) { + if (strpos($key, 'Legacy_Event_User_') === 0) { + $eventName = substr($key, 18); + XCube_DelegateUtils::call('Legacy.Event.User.' . $eventName); + $root->mContext->mAttributes['userEvent'][$eventName] = true; + } + } + } } ?> \ No newline at end of file