简体   繁体   中英

TYPO3 Extbase getArguments from other Extension

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM