Documentation

Core
in package
Uses UtilsProvider

Core for real-product-manager-wp-client. It is only initialized once and holds all available initiators.

Table of Contents

Constants

GLOBAL_INITIATORS  = 'real_product_manager_wp_client_initiators'
The initiators need to be declared globally, due to the fact the class instance itself is scoped and can exist more than once.

Properties

$assets  : Assets
Assets handler.
$me  : mixed
Singleton instance.

Methods

addInitiator()  : mixed
Add an initiator.
getAssets()  : mixed
Get assets handler.
getInitiator()  : mixed
Get initiator by slug.
getInitiators()  : array<string|int, AbstractInitiator>
Get all initiators.
getInstance()  : Core
Get singleton core class.
getPluginConstantPrefix()  : string
Get the prefix of this package so we can utils package natively.
setupConstants()  : mixed
Make sure the RPM_WP_CLIENT constants are available.
__construct()  : mixed
C'tor.

Constants

GLOBAL_INITIATORS

The initiators need to be declared globally, due to the fact the class instance itself is scoped and can exist more than once.

public mixed GLOBAL_INITIATORS = 'real_product_manager_wp_client_initiators'

Properties

$me

Singleton instance.

private static mixed $me

Methods

getAssets()

Get assets handler.

public getAssets() : mixed
Tags
codeCoverageIgnore

getInitiator()

Get initiator by slug.

public getInitiator(string $slug) : mixed
Parameters
$slug : string
Tags
codeCoverageIgnore

getInstance()

Get singleton core class.

public static getInstance() : Core
Tags
codeCoverageIgnore
Return values
Core

getPluginConstantPrefix()

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

public getPluginConstantPrefix() : string
Return values
string

setupConstants()

Make sure the RPM_WP_CLIENT constants are available.

public static setupConstants() : mixed

__construct()

C'tor.

private __construct() : mixed

        
On this page

Search results