[TYPO3-mvc] Best way to convert "tx_ext_domain_model_foo:1" into object?

typo3 at litedesigns.nl typo3 at litedesigns.nl
Sat Mar 10 10:14:04 CET 2012


Hi Tim,

Can't you just use your repository?

$foo = $this->fooRepository->findByUid($uid);

Or did you mean that you do not know yet which kind of model you have
/need with your given string?

Kind regards,
Tim

> Hello list
> I know there must be a function to which I can pass a string like
> "tx_ext_domain_model_foo:1" to and recieve the populized object back.
> Extbase does it, so I should be able to call it too, but I havn't found
> where it is done. It would be nice if someone could give me a hint.
> Thanks, Tim
> _______________________________________________
> 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