[TYPO3-mvc] Tx_Extbase_Persistence_Repository->add() does notwork

Alexander Dick alex at dick.at
Tue Sep 14 11:03:21 CEST 2010


Hi Dennis, 

yes, this is located in the initializeAction. 
The reference was just a try, it makes no difference if I remove it.

kind regards
Alex

On Tue, 14 Sep 2010 10:34:04 +0200, Dennis Ahrens <dennis.ahrens at googlemail.com> wrote:
> Hi Alexander,
> 
>> OrderItemController.php:
>>
>>     $this->orderItemRepository =
>>
> &t3lib_div::makeInstance('Tx_XXX_Domain_Repository_OrderItemRepository');
> 
> Where inside the Controller is this code located? inside
> initializeAction()? I'm also not sure about the ampersand in front of
> the call - what does this mean in this case? creating a reference?
> creating by using a reference to t3lib_div. Looks strange to me - maybe
> something went wrong there.
> 
> regards
> Dennis
> 
> 
> _______________________________________________
> 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