[TYPO3-mvc] how to use extbase_pager for Tx_Extbase_Persistence_ObjectStorage object

Kevin Ulrich Moschallski km at 3digit.de
Fri Aug 6 13:59:41 CEST 2010


Hi Nils,

thank you for giving an example on this.

Regards,

Kevin Moschallski






Am 06.08.2010 um 10:18 schrieb Nils Blattner:

> Hi Kevin
> 
> I just wrote a reply to the "extbase_pager usage."-thread.
> Check it out and see if this helps you.
> 
> Regards, Nils
> 
> Am 05.08.10 07:36, schrieb Jonas Dübi:
>> Hi Kevin
>> 
>> I'll ask Nils if he finds the time to writhe an answer.
>> 
>> Please put your questions to:
>> http://forge.typo3.org/projects/extension-extbase_pager/issues
>> 
>> If you have any tips or found out something interessting put it into the
>> wiki:
>> http://forge.typo3.org/projects/extension-extbase_pager/wiki/Extbase_Pager
>> 
>> It's important that everybody helps to get this little bird flying ;-)
>> 
>> Best regards,
>> Jonas
>> 
>> 
>> 
>> Kevin Ulrich Moschallski schrieb:
>>> Hi everybody,
>>> 
>>> i try to use the viewhelper extbase_pager in my extension. but i can't
>>> figure out how to modify the query for an
>>> Tx_Extbase_Persistence_ObjectStorage object. Is there any way to do
>>> this, or do i need to write my own method in the repository?
>>> 
>>> I will give you a short overview on what i try to do:
>>> 
>>> I have a table with quizzes. Each quiz has one or more questions. The
>>> questions are related to the quiz with an MM table. When i simply call
>>> the getter for the questions everything works as excepted. But now i
>>> want to only display one question per page. So i looked around and
>>> found the extbase_pager viewhelper which also got an utility class to
>>> prepare the query but i don't know how to manipulate the query in
>>> quiz.php in my model.
>>> 
>>> Does anybody ever used extbase_pager and could please give me a hint
>>> where i could manipulate the query or how to build a custom query?
>>> 
>>> Thanks for your help in advance.
>>> 
>>> P.S.: I'm very new into extbase, so please be gentle if i did any
>>> awful mistakes in describing my problem.
>>> 
>>> Regards,
>>> 
>>> Kevin
> 
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list