Documentation

CrossRealCategoryLibrary extends AbstractCrossSelling
in package

Cross-selling for Real Category Management.

Table of Contents

Constants

FILE_LITE  = 'real-category-library-lite/index.php'
FILE_PRO  = 'real-category-library/index.php'
NEXT_POPUP  = '+7 days'
NEXT_POPUP_IN_PRO  = '+14 days'
PRO_LINK  = 'https://devowl.io/go/real-category-management?source=cross-rcm'
SLUG  = 'real-category-library'

Methods

actionCounter()  : int
Get or update the action counter for a given action.
dismiss()  : bool
Dismiss a cross popup for a product.
forceHide()  : bool
Get or update the hidden action status for a given action. This can not be undone if once set.
getAssetsUrl()  : mixed
Get the external URL to assets.
getMeta()  : string
Documented in AbstractCrossSelling.
getPluginConstantPrefix()  : string
Get the prefix of this package so we can utils package natively.
getSlug()  : string
Documented in AbstractCrossSelling.
setupConstants()  : mixed
Make sure the REAL_UTILS constants are available.
skip()  : bool
Documented in AbstractCrossSelling.

Constants

Methods

actionCounter()

Get or update the action counter for a given action.

public actionCounter(string $action[, bool $increment = false ]) : int
Parameters
$action : string
$increment : bool = false
Return values
int

dismiss()

Dismiss a cross popup for a product.

public dismiss(string $action, bool $force) : bool
Parameters
$action : string
$force : bool
Return values
bool

forceHide()

Get or update the hidden action status for a given action. This can not be undone if once set.

public forceHide(string $action[, bool $force = false ]) : bool
Parameters
$action : string
$force : bool = false
Return values
bool

getAssetsUrl()

Get the external URL to assets.

public getAssetsUrl([string $path = '' ]) : mixed
Parameters
$path : string = ''

getMeta()

Documented in AbstractCrossSelling.

public getMeta() : string
Tags
codeCoverageIgnore
Return values
string

getPluginConstantPrefix()

Get the prefix of this package so we can utils package natively.

public getPluginConstantPrefix() : string
Return values
string

getSlug()

Documented in AbstractCrossSelling.

public getSlug() : string
Tags
codeCoverageIgnore
Return values
string

setupConstants()

Make sure the REAL_UTILS constants are available.

public static setupConstants() : mixed

skip()

Documented in AbstractCrossSelling.

public skip() : bool
Tags
codeCoveragIgnore
Return values
bool

        
On this page

Search results