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
$hubAssetHelper
protected
HubAssetHelper
$hubAssetHelper
Methods
proceed()
Proceed with the execution of the extender.
public
proceed() : mixed
Return values
mixed —_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.
_createSessionsApiClient()
Creates a HubSessionsApiClient instance.
protected
_createSessionsApiClient() : HubSessionsApiClient
Return values
HubSessionsApiClient —_getModuleData()
Returns array containing the Hub module "code" and "title" properties.
protected
_getModuleData() : array<string|int, mixed>