[xoops-cvslog 4289] CVS update: xoops2jp/html/kernel

Back to archive index

Minahito minah****@users*****
2006年 8月 21日 (月) 18:52:12 JST


Index: xoops2jp/html/kernel/XCube_Controller.class.php
diff -u xoops2jp/html/kernel/XCube_Controller.class.php:1.1.2.14 xoops2jp/html/kernel/XCube_Controller.class.php:1.1.2.15
--- xoops2jp/html/kernel/XCube_Controller.class.php:1.1.2.14	Mon Jul 31 19:02:17 2006
+++ xoops2jp/html/kernel/XCube_Controller.class.php	Mon Aug 21 18:52:12 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package XCube
- * @version $Id: XCube_Controller.class.php,v 1.1.2.14 2006/07/31 10:02:17 minahito Exp $
+ * @version $Id: XCube_Controller.class.php,v 1.1.2.15 2006/08/21 09:52:12 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -297,7 +297,7 @@
 	function _processFilter()
 	{
 		for ($i = 0; $i < count($this->mFilterChain); $i++) {
-			$this->mFilterChain[$i]->preFilter($this);
+			$this->mFilterChain[$i]->preFilter();
 		}
 	}
 	
@@ -320,7 +320,14 @@
 	function _processPreBlockFilter()
 	{
 		for ($i = 0; $i < count($this->mFilterChain); $i++) {
-			$this->mFilterChain[$i]->preBlockFilter($this);
+			$this->mFilterChain[$i]->preBlockFilter();
+		}
+	}
+	
+	function _processPostFilter()
+	{
+		foreach (reverse(array_keys($this->mFilterChain)) as $key) {
+			$this->mFilterChain[$key]->postFilter();
 		}
 	}
 	
@@ -402,7 +409,7 @@
 	function executeForward($url, $time = 0, $message = null)
 	{
 		// check header output
-		header("location: ".$url);
+		header("location: " . $url);
 		exit();
 	}
 


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