TYPO3 Extbase getArguments from other Extension
Asked Answered
I

1

5

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

Impracticable answered 11/11, 2013 at 7:28 Comment(0)
B
10

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.

Bibbie answered 11/11, 2013 at 8:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.