TYPO3
7.6
|
Public Member Functions | |
injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) | |
injectConfigurationManager (\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager) | |
injectExtensionService (\TYPO3\CMS\Extbase\Service\ExtensionService $extensionService) | |
injectEnvironmentService (\TYPO3\CMS\Extbase\Service\EnvironmentService $environmentService) | |
Protected Member Functions | |
loadDefaultValues () | |
resolveControllerName (array $parameters) | |
resolveActionName ($controllerName, array $parameters) | |
untangleFilesArray (array $convolutedFiles) | |
calculateFieldPaths (array $structure, $firstLevelFieldName=null) | |
Protected Attributes | |
$objectManager | |
$vendorName | |
$pluginName = 'plugin' | |
$extensionName | |
$defaultControllerName | |
$defaultFormat = 'html' | |
$allowedControllerActions = array() | |
$configurationManager | |
$extensionService | |
$environmentService | |
Builds a web request.
Definition at line 23 of file Web/RequestBuilder.php.
|
protected |
Returns an array of all possibles "field paths" for the given array.
array | $structure | The array to walk through |
string | $firstLevelFieldName |
Definition at line 298 of file Web/RequestBuilder.php.
Referenced by RequestBuilder\untangleFilesArray().
injectConfigurationManager | ( | \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | $configurationManager | ) |
\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | $configurationManager |
Definition at line 98 of file Web/RequestBuilder.php.
References RequestBuilder\$configurationManager.
injectEnvironmentService | ( | \TYPO3\CMS\Extbase\Service\EnvironmentService | $environmentService | ) |
\TYPO3\CMS\Extbase\Service\EnvironmentService | $environmentService |
Definition at line 114 of file Web/RequestBuilder.php.
References RequestBuilder\$environmentService.
injectExtensionService | ( | \TYPO3\CMS\Extbase\Service\ExtensionService | $extensionService | ) |
\TYPO3\CMS\Extbase\Service\ExtensionService | $extensionService |
Definition at line 106 of file Web/RequestBuilder.php.
References RequestBuilder\$extensionService.
injectObjectManager | ( | \TYPO3\CMS\Extbase\Object\ObjectManagerInterface | $objectManager | ) |
\TYPO3\CMS\Extbase\Object\ObjectManagerInterface | $objectManager |
Definition at line 90 of file Web/RequestBuilder.php.
References RequestBuilder\$objectManager.
|
protected |
MvcException |
Definition at line 123 of file Web/RequestBuilder.php.
References ConfigurationManagerInterface\CONFIGURATION_TYPE_FRAMEWORK.
|
protected |
Returns the current actionName extracted from given $parameters. If no action is specified, the defaultActionName will be returned. If that's not available or the specified action is not defined in the current plugin, an exception is thrown.
string | $controllerName | |
array | $parameters |
\TYPO3\CMS\Extbase\Mvc\Exception\InvalidActionNameException | |
MvcException | |
\TYPO3\CMS\Core\Error\Http\PageNotFoundException |
Definition at line 232 of file Web/RequestBuilder.php.
References ConfigurationManagerInterface\CONFIGURATION_TYPE_FRAMEWORK, and elseif.
|
protected |
Returns the current ControllerName extracted from given $parameters. If no controller is specified, the defaultControllerName will be returned. If that's not available, an exception is thrown.
array | $parameters |
\TYPO3\CMS\Extbase\Mvc\Exception\InvalidControllerNameException | |
MvcException | if the controller could not be resolved |
\TYPO3\CMS\Core\Error\Http\PageNotFoundException |
Definition at line 199 of file Web/RequestBuilder.php.
References RequestBuilder\$defaultControllerName, ConfigurationManagerInterface\CONFIGURATION_TYPE_FRAMEWORK, and elseif.
|
protected |
Transforms the convoluted _FILES superglobal into a manageable form.
array | $convolutedFiles | The _FILES superglobal |
Definition at line 262 of file Web/RequestBuilder.php.
References RequestBuilder\calculateFieldPaths().
|
protected |
Definition at line 70 of file Web/RequestBuilder.php.
|
protected |
Definition at line 75 of file Web/RequestBuilder.php.
Referenced by RequestBuilder\injectConfigurationManager().
|
protected |
Definition at line 56 of file Web/RequestBuilder.php.
Referenced by RequestBuilder\resolveControllerName().
|
protected |
Definition at line 63 of file Web/RequestBuilder.php.
|
protected |
Definition at line 85 of file Web/RequestBuilder.php.
Referenced by RequestBuilder\injectEnvironmentService().
|
protected |
Definition at line 49 of file Web/RequestBuilder.php.
|
protected |
Definition at line 80 of file Web/RequestBuilder.php.
Referenced by RequestBuilder\injectExtensionService().
|
protected |
Definition at line 28 of file Web/RequestBuilder.php.
Referenced by RequestBuilder\injectObjectManager().
|
protected |
Definition at line 42 of file Web/RequestBuilder.php.
|
protected |
Definition at line 35 of file Web/RequestBuilder.php.