[TYPO3-mvc] Problem calling a repository function

Raymund Tump raymund.tump at gmx.de
Mon Jan 31 12:06:07 CET 2011


Hi Franz,

> give it a try and instantiate the repository via the objectManager if
> you're using extbase 1.3.0 (or later).

I can't get the objectManager in a render function of a view helper?

As trying

$projectRepository = $this->objectManager->get('Tx_UtekReferenzen_Domain_Repository_ProjectRepository');

Gives an exception that I try to call a member function on a
non-object.

-- 
Regards
Raymund



More information about the TYPO3-project-typo3v4mvc mailing list