[TYPO3-mvc] setRespectStoragePage via initializeObject()

Thomas Mammitzsch thomas at visualworx.de
Wed Feb 9 23:11:44 CET 2011


ok, thanks, but what if i create a repository instance in a model?

regards, thomas

Am 09.02.2011 22:21, schrieb Marc Bastian Heinrichs:
> hey,
>
>> using thie with extbase 1.3.0 doesnt work. in 1.3 alpha 2 it worked. How
>> do i set respectStoragePage to false in 1.3.0
>>
>> http://forge.typo3.org/projects/typo3v4-mvc/wiki/Default_Orderings_and_Query_Settings_in_Repository
>
> I guess you use t3lib_div::makeInstance() to instance your repository
> object. Have a look at the infos about Dependency Injection (DI)
> http://forge.typo3.org/projects/typo3v4-mvc/wiki/Dependency_Injection_%28DI%29
> You have to use DI or the Object Manager now to instance your object and
> getting initializeObject() called.
>
> Best
> Marc Bastian



More information about the TYPO3-project-typo3v4mvc mailing list