PluginActionsFactory
extends Factory
in package
This class will return the kind plugin data we need.
Tags
Table of Contents
TYPE | = 'action' | |
---|---|---|
CLASS_SEPARATOR | = '.' | |
CLASS_SUFFIX | = '\\Dtos\\Actions\\' | |
DEFAULT_CLASS | = 'SDK\\Dtos\\Common\\PluginData' | |
NAMESPACE | = 'Plugins' | |
getElement() | Returns the needed element. | : Element|null |
getPluginActions() | Returns the needed type of pluginData system. | : PluginData|null |
defaultReturnValue() | : Element|null | |
getClassName() | : string | |
getItem() | : Element|null | |
prepareClassName() | : string |
Constants
TYPE
public
mixed
TYPE
= 'action'
CLASS_SEPARATOR
protected
mixed
CLASS_SEPARATOR
= '.'
CLASS_SUFFIX
protected
mixed
CLASS_SUFFIX
= '\\Dtos\\Actions\\'
DEFAULT_CLASS
protected
mixed
DEFAULT_CLASS
= 'SDK\\Dtos\\Common\\PluginData'
NAMESPACE
protected
mixed
NAMESPACE
= 'Plugins'
Methods
getElement()
Returns the needed element.
public
static getElement([array<string|int, mixed> $data = [] ]) : Element|null
Parameters
- $data : array<string|int, mixed> = []
Tags
Return values
Element|null —getPluginActions()
Returns the needed type of pluginData system.
public
static getPluginActions([array<string|int, mixed> $data = [] ]) : PluginData|null
Parameters
- $data : array<string|int, mixed> = []
Return values
PluginData|null —defaultReturnValue()
protected
static defaultReturnValue(array<string|int, mixed> $data) : Element|null
Parameters
- $data : array<string|int, mixed>
Return values
Element|null —getClassName()
protected
static getClassName(string $name) : string
Parameters
- $name : string
Return values
string —getItem()
protected
static getItem([array<string|int, mixed> $data = [] ]) : Element|null
Parameters
- $data : array<string|int, mixed> = []
Return values
Element|null —prepareClassName()
protected
static prepareClassName(string $name) : string
Parameters
- $name : string