DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Developer Corner¶
The extension provide a SignalSlot for extending.
SignalSlots¶
beforeSendSMS
Input parameters are:
Parameter | Data type | Description |
---|---|---|
$this->extensionName | string | Name of the extension |
$this | object | The current object |
&$result_status | boolean | Result status |
How to use the Signal... Write the code below in your ext_localconf.php file
<?php
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
'PITS\Smslogin\Controller',
'beforeSendSMS',
'Your\Extension\Code\Path',
'funcitonName',
FALSE
);