[TYPO3-mvc] Get repository object from table name
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Thu Jan 27 11:38:09 CET 2011
Franz Koch wrote:
> resolve the correct repository based on the table name and then fetch it.
Hey ho!
That's exactly what I need to know - is there a method/function
which returns me the repository object when providing the table name, like:
$repository = Magic::happens('tx_ext_domain_model_anytable');
$repository->findbyUid(124);
Thanks a lot!
Thomas
More information about the TYPO3-project-typo3v4mvc
mailing list