phpDocumentor

DataObserverFeature
in package

Class DataObserverFeature

Tags
subpackage

GambioHub

Table of Contents

GLOBAL_CONFIGURATION_KEY  = 'MODULE_PAYMENT_GAMBIO_HUB_DATA_OBSERVER'
MODULE_CONFIGURATION_KEY  = '%GAMBIO_HUB_REMOTE_CONFIG_%_ERPINTEGRATION%'
isActive()  : bool
Checks whether the data observer feature is active.
silent_error_handler()  : mixed

Constants

GLOBAL_CONFIGURATION_KEY

public string GLOBAL_CONFIGURATION_KEY = 'MODULE_PAYMENT_GAMBIO_HUB_DATA_OBSERVER'

MODULE_CONFIGURATION_KEY

public string MODULE_CONFIGURATION_KEY = '%GAMBIO_HUB_REMOTE_CONFIG_%_ERPINTEGRATION%'

Methods

isActive()

Checks whether the data observer feature is active.

public static isActive() : bool

The data observer is a rather resource consuming feature adding extra overhead to each request and should therefore only be executed, when it is really necessary. This method will check all the required cases that need to be met, before considering the feature as active.

Return values
bool

silent_error_handler()

public static silent_error_handler(mixed $errno, mixed $errstr) : mixed
Parameters
$errno : mixed
$errstr : mixed
Return values
mixed

Search results