Class ExtraContentController

Class ExtraContentController

This controller exists as a base for future extensions for cases in which content needs to be displayed in a somewhat neutral way. cf. system/overloads/ExtraContentController for examples on how to use this.

HttpViewController implements HttpViewControllerInterface
ExtraContentController
Package: HttpViewControllers
Category: System
Extends: HttpViewController
Located at Controllers/HttpView/Shop/ExtraContentController.inc.php

Methods summary

public __construct( HttpContextReaderInterface $httpContextReader, HttpResponseProcessorInterface $httpResponseProcessor, ContentViewInterface $contentView )

Initialize the Controller with required properties

public actionDefault( void ) : HttpControllerResponseInterface

Default action method. Every controller child class requires at least the default action method, which is invoked when the ::_getQueryParameterData('do') value is not separated by a trailing slash.

protected _getExternalContent( $url )

Methods inherited from HttpViewController

_callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _getServerData(), _render(), _validatePageToken(), getTemplateFile(), proceed()

Properties summary

protected $timeout : integer
10

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray, $serverDataArray