[TYPO3-mvc] Save Model in a Schedulertask
Peter Niederlag
typo3-list at niekom.de
Fri Mar 25 21:38:24 CET 2011
hello,
Am 22.03.2011 13:06, schrieb Dennis Ahrens:
> Hi Alexander.
[...]
> $persistenceManager =
> $this->objectManager->get('Tx_Extbase_Persistence_Manager');
> $persistenceManager->persistAll();
If you have extbase > 1.3.x then you are advised to use the bootstrap(a
just discussed here recently), as that can ease some things. Then you
would have $bootstrap->persistenceManager->persistAll() available.
Greets,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
More information about the TYPO3-project-typo3v4mvc
mailing list