I've got an extension with two plugins and I need to access the getVars from both.
$this->request->getArguments();
The above code gives me, of course, only the vars from the current plugin.
Anybody knows how I can access the Vars from a different plugin?
Thank's alot!
Cheers,
lufi
Inside an extension, you do not have access to the request arguments of an other extension. This is only possible using the old way via
$_REQUEST
or \TYPO3\CMS\Core\Utility\GeneralUtility::_GP("varname");
Check out:
\TYPO3\CMS\Core\Utility\DebugUtility::debug($_REQUEST);
to get the right array keys and var names.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With