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 $container
Methods
__construct
public __construct(\Pimple\Container $container): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$container | \Pimple\Container |
__get
public __get(mixed $property): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$property | mixed |
init
public init(): mixed
container
public container(): mixed
plugin_dir_url
public plugin_dir_url(): string
Return Value:
The URL for the plugin’s root directory, with a trailing slash
plugin_dir_path
public plugin_dir_path(): string
Return 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(): bool
instance
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