Class ProductManager
Class ProductManager
- Allows plugins and themes to register themselves with Membership
- Initializes registered plugins
- Schedules automatic updates for registered plugins and themes
Namespace: hji\membership\controllers
Package: hji\membership\controllers
Since: 2.0
Located at classes/controllers/ProductManager.php
Package: hji\membership\controllers
Since: 2.0
Located at classes/controllers/ProductManager.php
Methods summary
public static
|
|
public
|
|
public
|
|
public
|
#
initMembershipProducts( string $productType )
Initializes registered products Fires up product callbacks Schedules product updates |
public
|
|
public
|
|
public
|
|
protected
|
|
public
|
|
protected
array|boolean
|
#
_validateProductProperties( array $product )
Validates properties of the product that is being registered |
protected
|
#
_initProduct(
Fires up product callbacks if such exist |
protected
|
|
public
array
|
#
getRegistryEntriesToInit( )
Returns Registry Entries that are sorted in resolved dependencies order |
protected
|
|
protected
|
Properties summary
protected
|
$productRegistrar
Product Registrar Object |
|
protected
|
$dependencyController
|
|
protected
array
|
$toInit
Collection of registry entries to init (their dependencies are satisfied) |