[FEATURE] Add method findAll() to record collection repository
authorIngmar Schlecht <ingmar@typo3.org>
Fri, 4 May 2012 11:18:40 +0000 (13:18 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 4 May 2012 11:21:17 +0000 (13:21 +0200)
Change-Id: I44a58bdedc8be3a9be68af7d636f44628d014fce
Resolves: #36835
Releases: 6.0
Reviewed-on: http://review.typo3.org/10994
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
t3lib/collection/RecordCollectionRepository.php

index fbb13f7..a357577 100644 (file)
@@ -75,6 +75,15 @@ class t3lib_collection_RecordCollectionRepository {
        }
 
        /**
+        * Finds all record collections.
+        *
+        * @return NULL|t3lib_collection_AbstractRecordCollection[]
+        */
+       public function findAll() {
+               return $this->queryMultipleRecords();
+       }
+
+       /**
         * Finds record collections by table name.
         *
         * @param string $tableName Name of the table to be looked up