Options
in package
Uses
UtilsProvider
Add real-utils specific options to frontend.
Table of Contents
Constants
- FIELD_NAME_CROSS_SELLING = 'real-utils-cross-selling'
Methods
- admin_init() : mixed
- Register settings.
- getPluginConstantPrefix() : string
- Get the prefix of this package so we can utils package natively.
- html_cross_selling() : mixed
- Allow to deactivate real-utils cross-selling functionality.
- instance() : mixed
- New instance.
- isCrossSellingActive() : bool
- Check if cross-selling is activated.
- setupConstants() : mixed
- Make sure the REAL_UTILS constants are available.
- __construct() : mixed
- C'tor.
Constants
FIELD_NAME_CROSS_SELLING
public
mixed
FIELD_NAME_CROSS_SELLING
= 'real-utils-cross-selling'
Methods
admin_init()
Register settings.
public
admin_init() : mixed
getPluginConstantPrefix()
Get the prefix of this package so we can utils package natively.
public
getPluginConstantPrefix() : string
Return values
stringhtml_cross_selling()
Allow to deactivate real-utils cross-selling functionality.
public
html_cross_selling() : mixed
instance()
New instance.
public
static instance() : mixed
Tags
isCrossSellingActive()
Check if cross-selling is activated.
public
static isCrossSellingActive() : bool
Return values
boolsetupConstants()
Make sure the REAL_UTILS constants are available.
public
static setupConstants() : mixed
__construct()
C'tor.
private
__construct() : mixed