vB_Products
in package
Uses
vB_Trait_NoSerialize
Class to handle product access and autoinstall
Table of Contents
Constants
- DEFAULT_VBULLETIN_PRODUCTS = ['nativo', 'viglink', 'twitterlogin', 'googlelogin', 'shopify', 'vbfilescan']
Methods
- __construct() : mixed
- Construct the products object.
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- getApiClassesByProduct() : mixed
- getDisabledProductObjects() : mixed
- getHookClasses() : mixed
- Compile a list of all of the hook classes from all of the active products.
- getPackages() : mixed
- getProductObjects() : mixed
- getProducts() : mixed
- Get the list of installed products.
Constants
DEFAULT_VBULLETIN_PRODUCTS
public
mixed
DEFAULT_VBULLETIN_PRODUCTS
= ['nativo', 'viglink', 'twitterlogin', 'googlelogin', 'shopify', 'vbfilescan']
Methods
__construct()
Construct the products object.
public
__construct(mixed $products, mixed $packagesDir, mixed $autoinstall) : mixed
Parameters
- $products : mixed
- $packagesDir : mixed
- $autoinstall : mixed
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
getApiClassesByProduct()
public
getApiClassesByProduct() : mixed
getDisabledProductObjects()
public
getDisabledProductObjects() : mixed
getHookClasses()
Compile a list of all of the hook classes from all of the active products.
public
getHookClasses() : mixed
getPackages()
public
getPackages() : mixed
getProductObjects()
public
getProductObjects() : mixed
getProducts()
Get the list of installed products.
public
getProducts() : mixed
This should be the same as the 'products' value in the datastore and the function mostly exists so that the unit tests can verify that.