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

Public Member Functions

 __construct (\ExtbaseTeam\BlogExample\Domain\Repository\TtContentRepository $contentRepository, \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory $dataMapFactory)
 
array listAction ()
 
 processRequest (RequestInterface $request)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 injectResponseFactory (ResponseFactoryInterface $responseFactory)
 
 injectStreamFactory (StreamFactoryInterface $streamFactory)
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectObjectManager (ObjectManagerInterface $objectManager)
 
 injectSignalSlotDispatcher (Dispatcher $signalSlotDispatcher)
 
 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 ()
 
ControllerContext getControllerContext ()
 
 addFlashMessage ($messageBody, $messageTitle='', $severity=AbstractMessage::OK, $storeInSession=true)
 
never forward ($actionName, $controllerName=null, $extensionName=null, array $arguments=null)
 
never throwStatus ($statusCode, $statusMessage=null, $content=null)
 

Protected Member Functions

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

Protected Attributes

string $defaultViewObjectName = JsonView::class
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
ResponseFactoryInterface $responseFactory
 
StreamFactoryInterface $streamFactory
 
TYPO3 CMS Extbase Reflection ReflectionService $reflectionService
 
HashService $hashService
 
ViewInterface $view
 
string $defaultViewObjectName = TemplateView::class
 
string $actionMethodName = 'indexAction'
 
string $errorMethodName = 'errorAction'
 
TYPO3 CMS Extbase Mvc Controller MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService
 
EventDispatcherInterface $eventDispatcher
 
Request $request
 
TYPO3 CMS Extbase SignalSlot Dispatcher $signalSlotDispatcher
 
ObjectManagerInterface $objectManager
 
TYPO3 CMS Extbase Mvc Web Routing UriBuilder $uriBuilder
 
array $settings
 
TYPO3 CMS Extbase Validation ValidatorResolver $validatorResolver
 
TYPO3 CMS Extbase Mvc Controller Arguments $arguments
 
ControllerContext $controllerContext
 
ConfigurationManagerInterface $configurationManager
 

Private Attributes

ExtbaseTeam BlogExample Domain Repository TtContentRepository $contentRepository
 
TYPO3 CMS Extbase Persistence Generic Mapper DataMapFactory $dataMapFactory
 

Detailed Description

ContentController

Definition at line 31 of file ContentController.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getRuntimeIdentifier()

string ExtbaseTeam\BlogExample\Controller\ContentController::getRuntimeIdentifier ( )
protected

◆ getStructure()

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

Definition at line 101 of file ContentController.php.

References TYPO3\CMS\Extbase\Reflection\ObjectAccess\getGettableProperties().

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

◆ listAction()

◆ processRequest()

ExtbaseTeam\BlogExample\Controller\ContentController::processRequest ( RequestInterface  $request)
Parameters
\TYPO3\CMS\Extbase\Mvc\RequestInterface$request
\Psr\Http\Message\ResponseInterface$response
Exceptions

Reimplemented from TYPO3\CMS\Extbase\Mvc\Controller\ActionController.

Definition at line 85 of file ContentController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$request, and ExtbaseTeam\BlogExample\Controller\ContentController\getRuntimeIdentifier().

Member Data Documentation

◆ $contentRepository

ExtbaseTeam BlogExample Domain Repository TtContentRepository ExtbaseTeam\BlogExample\Controller\ContentController::$contentRepository
private

◆ $dataMapFactory

TYPO3 CMS Extbase Persistence Generic Mapper DataMapFactory ExtbaseTeam\BlogExample\Controller\ContentController::$dataMapFactory
private

◆ $defaultViewObjectName

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

Definition at line 39 of file ContentController.php.