[TYPO3-mvc] How to access storagePid in Repository

roberto blanko robertoblanko at gmail.com
Fri Mar 12 10:50:00 CET 2010


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.


More information about the TYPO3-project-typo3v4mvc mailing list