projects
/
Packages
/
TYPO3.CMS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336367c
)
[~TASK] Extbase (Persistence): Added count() to the QueryInterface. Related to #4991.
author
Jochen Rau
<j.rau@web.de>
Tue, 27 Oct 2009 20:56:56 +0000
(20:56 +0000)
committer
Jochen Rau
<j.rau@web.de>
Tue, 27 Oct 2009 20:56:56 +0000
(20:56 +0000)
typo3/sysext/extbase/Classes/Persistence/QueryInterface.php
patch
|
blob
|
history
diff --git
a/typo3/sysext/extbase/Classes/Persistence/QueryInterface.php
b/typo3/sysext/extbase/Classes/Persistence/QueryInterface.php
index
7b5a37c
..
27c7710
100644
(file)
--- a/
typo3/sysext/extbase/Classes/Persistence/QueryInterface.php
+++ b/
typo3/sysext/extbase/Classes/Persistence/QueryInterface.php
@@
-49,6
+49,14
@@
interface Tx_Extbase_Persistence_QueryInterface {
*/
public function execute();
+ /**
+ * Executes the query against the database and returns the number of matching objects
+ *
+ * @return integer The number of matching objects
+ * @api
+ */
+ public function count();
+
/**
* Sets the property names to order the result by. Expected like this:
* array(