Added function to set the object ids
authorMarcel Werk <burntime@woltlab.com>
Mon, 17 Sep 2012 17:24:09 +0000 (19:24 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 17 Sep 2012 17:24:09 +0000 (19:24 +0200)
wcfsetup/install/files/lib/data/DatabaseObjectList.class.php

index ea22f1a863ad8d31e1bf7b3079def704e4cae906..9d243f37468d0f217681135b7b17186e82d7128b 100644 (file)
@@ -201,6 +201,15 @@ abstract class DatabaseObjectList implements \Countable, ITraversableObject {
                return $this->objectIDs;
        }
        
+       /**
+        * Sets the object ids.
+        * 
+        * @param       array<integer>          $objectIDs
+        */
+       public function setObjectIDs(array $objectIDs) {
+               $this->objectIDs = $objectIDs;
+       }
+       
        /**
         * Returns the objects of the list.
         *