CrossRealPhysicalMedia
        
        extends AbstractCrossSelling
    
    
            
            in package
            
        
    
    
    
Cross-selling for Real Physical Media.
Table of Contents
Constants
- FILE_PRO = 'real-physical-media/index.php'
- NEXT_POPUP = '+7 days'
- NEXT_POPUP_IN_PRO = '+14 days'
- PRO_LINK = 'https://devowl.io/go/real-physical-media?source=cross-rpm'
- SLUG = 'real-physical-media'
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
FILE_PRO
    public
        mixed
    FILE_PRO
    = 'real-physical-media/index.php'
    
    
    
NEXT_POPUP
    public
        mixed
    NEXT_POPUP
    = '+7 days'
    
    
    
NEXT_POPUP_IN_PRO
    public
        mixed
    NEXT_POPUP_IN_PRO
    = '+14 days'
    
    
    
PRO_LINK
    public
        mixed
    PRO_LINK
    = 'https://devowl.io/go/real-physical-media?source=cross-rpm'
    
    
    
SLUG
    public
        mixed
    SLUG
    = 'real-physical-media'
    
    
    
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
intdismiss()
Dismiss a cross popup for a product.
    public
                    dismiss(string $action, bool $force) : bool
    Parameters
- $action : string
- $force : bool
Return values
boolforceHide()
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
boolgetAssetsUrl()
Get the external URL to assets.
    public
                    getAssetsUrl([string $path = '' ]) : mixed
    Parameters
- $path : string = ''
getMeta()
Documented in AbstractCrossSelling.
    public
                    getMeta() : string
    Tags
Return values
stringgetPluginConstantPrefix()
Get the prefix of this package so we can utils package natively.
    public
                    getPluginConstantPrefix() : string
    Return values
stringgetSlug()
Documented in AbstractCrossSelling.
    public
                    getSlug() : string
    Tags
Return values
stringsetupConstants()
Make sure the REAL_UTILS constants are available.
    public
            static        setupConstants() : mixed
    skip()
Documented in AbstractCrossSelling.
    public
                    skip() : bool