appdb/include distribution.php

WineHQ wineowner at wine.codeweavers.com
Sat Aug 25 11:01:03 CDT 2007


ChangeSet ID:	31350
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/08/25 11:01:03

Modified files:
	include        : distribution.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Add multipage controls to lists of distributions

Patch: http://cvs.winehq.org/patch.py?id=31350

Old revision  New revision  Changes     Path
 1.43          1.44          +7 -0       appdb/include/distribution.php

Index: appdb/include/distribution.php
diff -u -p appdb/include/distribution.php:1.43 appdb/include/distribution.php:1.44
--- appdb/include/distribution.php:1.43	25 Aug 2007 16: 1: 3 -0000
+++ appdb/include/distribution.php	25 Aug 2007 16: 1: 3 -0000
@@ -624,6 +624,13 @@ class distribution {
         return $iCount;
     }
 
+    function objectGetItemsPerPage($bQueued = false)
+    {
+        $aItemsPerPage = array(25, 50, 100, 200);
+        $iDefaultPerPage = 25;
+        return array($aItemsPerPage, $iDefaultPerPage);
+    }
+
     function objectGetid()
     {
         return $this->iDistributionId;



More information about the wine-cvs mailing list