Class AdminPageHttpControllerResponse

Class AdminPageHttpControllerResponse

Important: This class will load the admin section of the shop, something that cannot be integrated into unit tests. That is why it is not unit tested.

HttpControllerResponse implements HttpControllerResponseInterface
AdminPageHttpControllerResponse
Package: Http\ValueObjects
Category: System
Extends: HttpControllerResponse
Located at Services/System/Http/AdminPageHttpControllerResponse.inc.php

Methods summary

public __construct( string $title, array|null $mainContent, AssetCollectionInterface $assets = null, array $jsLanguageSections = array() )

Initializes the admin page http controller response.

protected _getAdminPageBody( array $contentArray, AssetCollectionInterface $assets = null, array $jsLanguageSections = array() ) : string

Returns a predefined markup for gambio admin pages.

Methods inherited from HttpControllerResponse

getBody(), getHeaders()

Properties summary

Properties inherited from HttpControllerResponse

$httpBody, $httpHeadersArray