TYPO3 CMS  TYPO3_6-2
mod.php File Reference

Go to the source code of this file.

Variables

 $moduleName = (string)\TYPO3\CMS\Core\Utility\GeneralUtility::_GET('M')
 
 $isDispatched = FALSE
 
 $formprotection = \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::get()
 
if(! $formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('moduleToken'), 'moduleCall', $moduleName)) if($temp_path=$TBE_MODULES['_PATHS'][$moduleName]) else
 

Variable Documentation

◆ $formprotection

◆ $isDispatched

$isDispatched = FALSE

Definition at line 23 of file mod.php.

◆ $moduleName

◆ else

if (! $formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP( 'moduleToken'), 'moduleCall', $moduleName)) if ( $temp_path=$TBE_MODULES[ '_PATHS'][ $moduleName]) else
Initial value:
{
if (is_array($TBE_MODULES['_dispatcher'])) {
foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) {
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get($dispatcherClassName);
if ($dispatcher->callModule($moduleName) === TRUE) {
$isDispatched = TRUE;
break;
}
}
}
}
if ($isDispatched === FALSE) {
throw new UnexpectedValueException('No module "' . htmlspecialchars($moduleName) . '" could be found.', 1294585070);
}
$moduleName
Definition: mod.php:22
$isDispatched
Definition: mod.php:23

Definition at line 34 of file mod.php.