Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AdminPageHttpControllerResponse
  • Asset
  • HttpContext
  • HttpControllerResponse
  • JsonHttpControllerResponse
  • RedirectHttpControllerResponse

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
Extended by AdminPageHttpControllerResponse
Package: Http\ValueObjects
Category: System
Extends: HttpControllerResponse
Located at SystemServices/Http/ValueObjects/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.

Initializes the admin page http controller response.

Parameters

$title
Page title of admin page.
$mainContent
Rendered response body.
$assets
(Optional) Assets collection to add new assets to the markup.
$jsLanguageSections

(Optional) Language section for the js engine modules for the rendered admin page.

Overrides

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

Returns a predefined markup for gambio admin pages.

Returns a predefined markup for gambio admin pages.

Parameters

$contentArray
Associative array with 'title' and 'main_content' keys.
$assets
(Optional) Collection with assets for the markup.
$jsLanguageSections

(Optional) Array with language sections to access them in modules of the gx javascript engine.

Returns

string
Rendered markup for the admin page.

Methods inherited from HttpControllerResponse

getBody(), getHeaders()

Properties summary

Properties inherited from HttpControllerResponse

$httpBody, $httpHeadersArray

API documentation generated by ApiGen