[xoops-cvslog 3584] CVS update: xoops2jp/html/modules/user/admin/forms

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 7月 13日 (木) 19:51:00 JST


Index: xoops2jp/html/modules/user/admin/forms/RankActionFilterForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/RankActionFilterForm.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/forms/RankActionFilterForm.class.php:removed
--- xoops2jp/html/modules/user/admin/forms/RankActionFilterForm.class.php:1.1.2.2	Tue Mar 28 22:32:04 2006
+++ xoops2jp/html/modules/user/admin/forms/RankActionFilterForm.class.php	Thu Jul 13 19:51:00 2006
@@ -1,56 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-define("RANK_SORT_KEY_DEFAULT",  0);
-define("RANK_SORT_KEY_ID",       1);
-define("RANK_SORT_KEY_TITLE",    2);
-define("RANK_SORT_KEY_MIN",      3);
-define("RANK_SORT_KEY_MAX",      4);
-define("RANK_SORT_KEY_SPECIAL",  5);
-define("RANK_SORT_KEY_IMAGE",    6);
-
-define("RANK_SORT_KEY_MAXVALUE", 6);
-
-/**
- *
- */
-class RankActionFilterForm
-{
-	var $mSpecial=null;
-
-	var $mSortKey=0;
-
-	var $_mSortKeys=array(
-		RANK_SORT_KEY_DEFAULT    => "rank_id",
-		RANK_SORT_KEY_ID         => "rank_id",
-		RANK_SORT_KEY_TITLE      => "rank_title",
-		RANK_SORT_KEY_MIN        => "rank_min",
-		RANK_SORT_KEY_MAX        => "rank_max",
-		RANK_SORT_KEY_SPECIAL    => "rank_special",
-		RANK_SORT_KEY_IMAGE      => "rank_image"
-	);
-
-	function fetch()
-	{
-		$this->mSpecial=isset($_REQUEST['special']) ? intval($_REQUEST['special']) : null;
-
-		$this->mSortKey=isset($_REQUEST['sort']) ? intval($_REQUEST['sort']) : 0;
-
-		if($this->mSortKey>RANK_SORT_KEY_MAXVALUE)
-			$this->mSortKey=0;
-	}
-
-	function getSort()
-	{
-		$sortkey=abs($this->mSortKey);
-		return $this->_mSortKeys[$sortkey];
-	}
-	
-	function getOrder()
-	{
-		return ($this->mSortKey < 0) ? "DESC" : "ASC";
-	}
-}
-
-?>
\ No newline at end of file


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