‪TYPO3CMS  ‪main
TYPO3Tests\BlogExample\Controller\ContentController Class Reference
Inheritance diagram for TYPO3Tests\BlogExample\Controller\ContentController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 __construct (TtContentRepository $contentRepository, DataMapFactory $dataMapFactory)
 
 listAction ()
 
 processRequest (RequestInterface $request)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 injectResponseFactory (ResponseFactoryInterface $responseFactory)
 
 injectStreamFactory (StreamFactoryInterface $streamFactory)
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectValidatorResolver (ValidatorResolver $validatorResolver)
 
 injectViewResolver (ViewResolverInterface $viewResolver)
 
 injectReflectionService (ReflectionService $reflectionService)
 
 injectHashService (HashService $hashService)
 
 injectMvcPropertyMappingConfigurationService (MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService)
 
 injectEventDispatcher (EventDispatcherInterface $eventDispatcher)
 
 injectPropertyMapper (PropertyMapper $propertyMapper)
 
 injectInternalFlashMessageService (FlashMessageService $flashMessageService)
 
 injectInternalExtensionService (ExtensionService $extensionService)
 
 initializeControllerArgumentsBaseValidators ()
 
 addFlashMessage (string $messageBody, string $messageTitle='', ContextualFeedbackSeverity $severity=ContextualFeedbackSeverity::OK, bool $storeInSession=true)
 
 throwStatus (int $statusCode, string $statusMessage='', ?string $content=null)
 

Protected Member Functions

 getStructure (\Iterator|array $iterator)
 
 getRuntimeIdentifier ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 initializeAction ()
 
 initializeActionMethodArguments ()
 
 initializeActionMethodValidators ()
 
 renderAssetsForRequest (RequestInterface $request)
 
 resolveActionMethodName ()
 
 callActionMethod (RequestInterface $request)
 
 resolveView ()
 
 setViewConfiguration (ViewInterface $view)
 
 errorAction ()
 
 addErrorFlashMessage ()
 
 getErrorFlashMessage ()
 
 forwardToReferringRequest ()
 
 getFlattenedValidationErrorMessage ()
 
 getFlashMessageQueue (string $identifier=null)
 
 redirect (?string $actionName, ?string $controllerName=null, ?string $extensionName=null, ?array $arguments=null, ?int $pageUid=null, $_=null, int $statusCode=303)
 
 redirectToUri (string|UriInterface $uri, $_=null, int $statusCode=303)
 
 addBaseUriIfNecessary (string $uri)
 
 mapRequestArgumentsToControllerArguments ()
 
 htmlResponse (string $html=null)
 
 jsonResponse (string $json=null)
 

Protected Attributes

string $defaultViewObjectName = JsonView::class
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
ResponseFactoryInterface $responseFactory
 
StreamFactoryInterface $streamFactory
 
HashService $hashService
 
ReflectionService $reflectionService
 
ViewInterface $view
 
string $defaultViewObjectName = TemplateView::class
 
string $actionMethodName = 'indexAction'
 
string $errorMethodName = 'errorAction'
 
MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService
 
EventDispatcherInterface $eventDispatcher
 
RequestInterface $request
 
UriBuilder $uriBuilder
 
array $settings
 
ValidatorResolver $validatorResolver
 
Arguments $arguments
 
ConfigurationManagerInterface $configurationManager
 

Private Attributes

TtContentRepository $contentRepository
 
DataMapFactory $dataMapFactory
 

Detailed Description

Definition at line 30 of file ContentController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3Tests\BlogExample\Controller\ContentController::__construct ( TtContentRepository  $contentRepository,
DataMapFactory  $dataMapFactory 
)

Member Function Documentation

◆ getRuntimeIdentifier()

TYPO3Tests\BlogExample\Controller\ContentController::getRuntimeIdentifier ( )
protected

◆ getStructure()

TYPO3Tests\BlogExample\Controller\ContentController::getStructure ( \Iterator|array  $iterator)
protected
Parameters
\Iterator | \TYPO3\CMS\Extbase\DomainObject\AbstractEntity[]$iterator

Definition at line 87 of file ContentController.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

Referenced by TYPO3Tests\BlogExample\Controller\ContentController\listAction().

◆ listAction()

◆ processRequest()

TYPO3Tests\BlogExample\Controller\ContentController::processRequest ( RequestInterface  $request)

Member Data Documentation

◆ $contentRepository

TtContentRepository TYPO3Tests\BlogExample\Controller\ContentController::$contentRepository
private

◆ $dataMapFactory

DataMapFactory TYPO3Tests\BlogExample\Controller\ContentController::$dataMapFactory
private

◆ $defaultViewObjectName

string TYPO3Tests\BlogExample\Controller\ContentController::$defaultViewObjectName = JsonView::class
protected

Definition at line 33 of file ContentController.php.