[TYPO3-mvc] How to access storagePid in Repository
dennis ahrens
dennis.ahrens at googlemail.com
Fri Mar 12 12:12:21 CET 2010
Hi,
Tx_Extbase_Dispatcher::getExtbaseFrameworkConfiguration();
fetches the configuration for you - there the storagePid should be included.
You know, that it's not best practice to query things like that?
regards
Dennis
2010/3/12 roberto blanko <robertoblanko at gmail.com>:
> Hey fellas,
>
> probably a dumb question, but how do I access the currently set storagePid
> for use in a query statement within a repository? I want to do something
> like this:
>
> $query->statement('SELECT * FROM table WHERE pid=' .
> $this->persistence['storagePid'])->execute();
>
> Thanks for your support.
> _______________________________________________
> 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