[TYPO3-mvc] widget.paginate only working with repository standard methods?

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jan 13 18:09:58 CET 2011


Hey,

> I'm currently checking the paginate widget which comes with the fluid
> trunk. A very nice tool as stated before already.
>
> But how does it work exactly? It seems as if it would perform some kind
> of findAll() action itself in the background.
>
> I am trying to use it on a manually composed query and it does not work
> properly.
>
> Is the following not supported by it?
>
> $query = $this->createQuery();
> $query->statement ($myManuallyComposedSql);
> return $query->execute();

I haven't had a look at the code of queryResult object, but I fear this 
is not supported as the queryResult object is most likely interacting 
with the query object using the QOM methods (setLimit,count,...) which 
might not work as supposed. But as I wrote - I'm just guessing here.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list