[TYPO3-mvc] pi_getPidList in extbase
Patrick Schriner
patrick.schriner at diemedialen.de
Wed Jul 17 17:04:56 CEST 2013
Haven't tried it, but you could try:
$pi =
$this->objectManager->create('TYPO3\CMS\Frontend\Plugin\AbstractPlugin');
// 6.0+ - use tslib_pibase if older
$pi->cObj = $this->configurationManager->getContentObject();
$pidList = $pi->pi_getPidList(32, 9);
This currently works due to AbstractPlugin not being abstract yet :D
On Wed, 17 Jul 2013 16:52:02 +0200, Bas van der Togt
<b.vandertogt at profinit.com> wrote:
> Hello,
>
> Can anybody tell me how to do this in extbase 6.1.0:
> tslib_pibase::pi_getPidList(32, 9);
>
> I tried
> \tslib_pibase::pi_getPidList(32, 9);
> but that's not working.
>
> Regards,
> Bas
--
Patrick Schriner
More information about the TYPO3-project-typo3v4mvc
mailing list