[xoops-cvslog 2082] CVS update: xoops2jp/html/modules/comment/event

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 18:29:01 JST


Index: xoops2jp/html/modules/comment/event/CommentEventFunction.class.php
diff -u xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:1.1.2.3 xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:removed
--- xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:1.1.2.3	Fri Nov 25 13:26:00 2005
+++ xoops2jp/html/modules/comment/event/CommentEventFunction.class.php	Thu Feb  2 18:29:00 2006
@@ -1,48 +0,0 @@
-<?php
-
-class CommentEventFunction
-{
-/*	function PostFormAccess(&$controller,&$eventArgs)
-	{
-		require_once XOOPS_ROOT_PATH."/modules/comment/forms/CommentPostForm.class.php";
-		$form=new CommentPostForm();
-		$form->prepare();
-
-		$controller->mRenderSystem->setAttribute("comment_ComentPostForm",$form);
-	}*/
-	
-	/**
-	 *  TEST
-	 */
-	function PostFormAccess(&$controller,&$envetArgs)
-	{
-		$controller->mRoot->mLanguageManager->loadModuleLanguage("comment");
-
-		require_once XOOPS_ROOT_PATH."/modules/comment/forms/CommentPostForm.class.php";
-		$form=new CommentPostForm();
-		$form->prepare();
-		
-		$renderTarget=new CommentRenderTarget();
-		$renderTarget->setAttribute("actionForm",$form);
-		$renderTarget->setTemplateName("comment_post_input.html");
-
-		$controller->mRenderSystem->renderWithTarget($renderTarget);
-		
-		$controller->mRenderSystem->setAttribute("comment_post_form",$renderTarget->getResult());
-	}
-}
-
-class CommentRenderTarget extends XCube_RenderTarget
-{
-	function CommentRenderTarget()
-	{
-		parent::XCube_RenderTarget();
-	}
-	
-	function isTheme()
-	{
-		return false;
-	}
-}
-
-?>
\ No newline at end of file
Index: xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php
diff -u xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php:1.1.2.2 xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php:removed
--- xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php:1.1.2.2	Fri Nov 25 03:11:01 2005
+++ xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php	Thu Feb  2 18:29:00 2006
@@ -1,29 +0,0 @@
-<?php
-
-require_once XOOPS_ROOT_PATH."/class/XCube_EventManager.class.php";
-
-/**
- * This class is proxy for a event manager about the process of comment.
- */
-class CommentEventProxyRegister extends XCube_EventProxyRegister
-{
-	var $_mList=array("Module.Comment.PostForm.Access","Module.Comment.PostForm.Submit",
-	                   "Module.Comment.PostFrom.Preview","Module.Comment.ReplyForm.Access",
-	                   "Module.Comment.ReplyForm.Submit","Module.Comment.ReplyForm.Preview",
-	                   "Module.Comment.DeleteForm.Access","Module.Comment.DeleteForm.Submit",
-	                   "Module.Comment.ListView.Access");
-	
-	function getEventNameList()
-	{
-		return $this->_mList;
-	}
-
-	function &createModule_Comment_PostForm_AccessDelegate()
-	{
-		require_once XOOPS_ROOT_PATH."/modules/comment/event/CommentEventFunction.class.php";
-		$delegate=new XCube_Delegate("CommentEventFunction","PostFormAccess");
-		return $delegate;
-	}
-}
-
-?>
\ No newline at end of file


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