phpDocumentor

GambioHubOrderExtender extends GambioHubOrderExtender_parent
in package

Class GambioHubOrderExtender

Table of Contents

$hubAssetHelper  : HubAssetHelper
proceed()  : mixed
Proceed with the execution of the extender.
_addOrderDetailsScript()  : GambioHubOrderExtender
Loads the Gambio Hub order details JavaScript file.
_addOrderFrontendIframe()  : GambioHubOrderExtender
Add Gambio Hub order frontend iframe.
_createSessionsApiClient()  : HubSessionsApiClient
Creates a HubSessionsApiClient instance.
_getModuleData()  : array<string|int, mixed>
Returns array containing the Hub module "code" and "title" properties.

Properties

Methods

_addOrderDetailsScript()

Loads the Gambio Hub order details JavaScript file.

protected _addOrderDetailsScript(array<string|int, mixed> $module) : GambioHubOrderExtender

The script will adjust the order details page for Gambio Hub compatibility. Check the order_details.js for further information.

Parameters
$module : array<string|int, mixed>

Contains the module "code" and "title" properties.

Return values
GambioHubOrderExtender

Returns same instance for chained method calls.

_addOrderFrontendIframe()

Add Gambio Hub order frontend iframe.

protected _addOrderFrontendIframe(array<string|int, mixed> $module) : GambioHubOrderExtender

Hub modules may display additional order information or offer extra options and actions to the user.

Parameters
$module : array<string|int, mixed>

Contains the module "code" and "title" properties.

Return values
GambioHubOrderExtender

Returns same instance for chained method calls.

_getModuleData()

Returns array containing the Hub module "code" and "title" properties.

protected _getModuleData() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results