PHP code example of pixelant / recall
1. Go to this page and download the library: Download pixelant/recall library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pixelant / recall example snippets
// use Pixelant\Recall\Service\RecallService
// use TYPO3\CMS\Core\Page\PageRenderer
$recallService = GeneralUtility::makeInstance(RecallService::class);
$recallHash = $recallService->set(['settings' => $this->settings]);
$pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
$pageRenderer->addInlineSettingArray(
'tx_myextension',
['recallHash' => $recallHash]
);
$recallHash = $request->getQueryParams()['recall'];
$settings = $this->recallService->get($recallHash)['settings'];