Plugin
- Full name:
\BigCommerce\Plugin
Constants
| Constant | Visibility | Type | Value |
|---|---|---|---|
VERSION | public | ’5.1.2’ |
Properties
_instance
protected static $_instance- This property is static.
container
protected \Pimple\Container $containerMethods
__construct
public __construct(\Pimple\Container $container): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$container | \Pimple\Container |
__get
public __get(mixed $property): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$property | mixed |
init
public init(): mixedcontainer
public container(): mixedplugin_dir_url
public plugin_dir_url(): stringReturn Value:
The URL for the plugin’s root directory, with a trailing slash
plugin_dir_path
public plugin_dir_path(): stringReturn Value:
The file system path for the plugin’s root directory, with a trailing slash
credentials_set
Determines is API credentials have been set, a prerequisite for much of the plugin functionality.
public credentials_set(): boolinstance
public static instance(null|\ArrayAccess $container = null): self- This method is static.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$container | null|\ArrayAccess |
Throws:
activate
public static activate(): mixed- This method is static.
Automatically generated on 2025-01-21