[xoops-cvslog 1780] CVS update: xoops2jp/html/modules/legacyRender/class

Back to archive index

Minahito minah****@users*****
2006年 1月 15日 (日) 04:00:09 JST


Index: xoops2jp/html/modules/legacyRender/class/tplfile.php
diff -u xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.5 xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.6
--- xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.5	Sat Jan 14 03:17:14 2006
+++ xoops2jp/html/modules/legacyRender/class/tplfile.php	Sun Jan 15 04:00:09 2006
@@ -98,6 +98,20 @@
 
 		return parent::delete($obj, $force);
 	}
+	
+	function &getRecentModifyFile($limit = 10)
+	{
+		$criteria = new Criteria('tpl_id', 0, '>');
+
+		$criteria->setLimit($limit);
+
+		$criteria->setSort('tpl_lastmodified');
+		$criteria->setOrder('DESC');
+		
+		$objs =& $this->getObjects($criteria);
+		
+		return $objs;
+	}
 }
 
 ?>


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