[xoops-cvslog 4984] CVS update: xoops2jp/html/modules/base/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 10月 13日 (金) 18:20:41 JST


Index: xoops2jp/html/modules/base/admin/forms/ModuleListFilterForm.class.php
diff -u xoops2jp/html/modules/base/admin/forms/ModuleListFilterForm.class.php:1.1.2.6.2.1 xoops2jp/html/modules/base/admin/forms/ModuleListFilterForm.class.php:1.1.2.6.2.2
--- xoops2jp/html/modules/base/admin/forms/ModuleListFilterForm.class.php:1.1.2.6.2.1	Thu Oct 12 20:02:52 2006
+++ xoops2jp/html/modules/base/admin/forms/ModuleListFilterForm.class.php	Fri Oct 13 18:20:41 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * This file is generated by Sort Filter Unit Class Maker.
- * @version $Id: ModuleListFilterForm.class.php,v 1.1.2.6.2.1 2006/10/12 11:02:52 minahito Exp $
+ * @version $Id: ModuleListFilterForm.class.php,v 1.1.2.6.2.2 2006/10/13 09:20:41 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -25,7 +25,8 @@
 define("MODULE_SORT_KEY_MAXVALUE",   12);
 
 /**
- *
+ * This is the special filter for the list of installed modules without the
+ * pager.
  */
 class Legacy_ModuleListFilterForm extends Legacy_AbstractFilterForm
 {
@@ -63,9 +64,21 @@
 		if (isset($_REQUEST['special'])) {
 			$this->mSpecial = intval(xoops_getreqeust('special'));
 		}
+		
+		$this->_mCriteria->add(new Criteria('mid', 0, '>'));
 
 		$this->_mCriteria->addSort($this->getSort(), $this->getOrder());
 	}
+	
+	function getCriteria($start = null, $limit = null)
+	{
+		$criteria = $this->_mCriteria;
+		
+		$criteria->setStart(0);
+		$criteria->setLimit(0);
+		
+		return $criteria;
+	}
 }
 
 ?>
\ No newline at end of file


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