[TYPO3-ttnews] Re: tx_news update of record

Krystian Szymukowicz k.szymukowicz at gmail.com
Fri Feb 1 16:41:00 CET 2013


Quote: Georg Ringer wrote on Fri, 01 February 2013 16:06
----------------------------------------------------
> Hi,
> 
> Am 01.02.2013 13:40, schrieb Krystian Szymukowicz:
> >         Tx_Extbase_Utility_Debugger::var_dump($news4);
> >         $news4->setTitle('foo');
> >         Tx_Extbase_Utility_Debugger::var_dump($news4);
> 
> this still works?

Yes. setTitle modifies object.

> 
> >         $repo->update($news4);
> >         $persistenceManager =
> > t3lib_div::makeInstance('Tx_Extbase_Persistence_Manager');
> >         $persistenceManager->persistAll();
> 
> do you get any error?

No. No error at all.

--
Krystian


More information about the TYPO3-project-tt-news mailing list