Actions
Bug #76906
closedProtected property sword disables possiblity to use hook
Start date:
2016-07-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
On Location Sprint
Description
Having:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['pi1_hooks']['initialize_postProc'] = 'XXXXXXX\TxExtension\Hooks\IndexedsearchHook';
and
function initialize_postProc() { if(GeneralUtility::_GP('q')){ $this->pObj->sword = GeneralUtility::_GP('q'); } }
leaves me with an error because the property sword is protected :-(
Actions