Plentymarkets interface documentation
Flow
Contracts
UIConfigFormContract
Add fields to config form.
Namespace
Plenty\Modules\Flow\Contracts
Methods
public addDateField($dateField, $key = "key"):void
Add a date field to the config form
Name |
Type |
Description |
|
||
|
public addTimeField($timeField, $key = "key"):void
Add a time field to the config form
Name |
Type |
Description |
|
||
|
public addInputField($inputField, $key = "key"):void
Add an input field to the config form
Name |
Type |
Description |
|
||
|
public addNumberField($numberField, $key = "key"):void
Add a number input field to the config form
Name |
Type |
Description |
|
||
|
public addDoubleField($doubleField, $key = "key"):void
Add an double input field to the config form
Name |
Type |
Description |
|
||
|
public addCheckboxField($checkboxField, $key = "key"):void
Add a checkbox field to the config form
Name |
Type |
Description |
|
||
|
public addSelectboxField($selectboxField, $key = "key"):void
Add a selectbox field to the config form
Name |
Type |
Description |
|
||
|
public addCheckboxGroupField($checkboxGroupField, $key = "key"):void
Add a checkboxGroup field to the config form
Name |
Type |
Description |
|
||
|
public addHyperlinkField($hyperlinkField, $key = "key"):void
Add a hyperlink field to the config form
Name |
Type |
Description |
|
||
|
public addTextAreaField($textAreaField, $key = "key"):void
Add a text area field to the config form
Name |
Type |
Description |
|
||
|
public getConfigFields():array
Get the list with the config fields
DataModels
ConfigForm
CheckboxField
The checkbox field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Methods
public toArray()
Returns this model as an array.
CheckboxGroupField
The checkbox group field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
selectBoxValues |
The checkbox values of the field |
|
formGroup |
Group of fields with a shared set of values |
|
formGroupValues |
Shared set of values of the form group |
Methods
public toArray()
Returns this model as an array.
CheckboxValue
The checkbox value field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
caption |
The name of the field |
|
value |
The label of the field |
|
translateCaption |
The option to translate caption, default value is true |
Methods
public toArray()
Returns this model as an array.
DateField
The date field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
value |
The value of the field |
Methods
public toArray()
Returns this model as an array.
DoubleField
The input field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Methods
public toArray()
Returns this model as an array.
FormField
The form field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
isVisible |
The visibility of the form on the config form |
|
isRequired |
The requirement of the form on the config form |
|
condition |
The condition for visibility of the form on the config form |
|
effectedFields |
Fields that will be effected on change |
Methods
public toArray()
Returns this model as an array.
HyperlinkField
The hyperlink field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
url |
The url of the field |
Methods
public toArray()
Returns this model as an array.
InputField
The input field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Methods
public toArray()
Returns this model as an array.
NumberField
The input field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Methods
public toArray()
Returns this model as an array.
SelectboxField
The selectbox field model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
selectBoxValues |
The selectbox values of the field |
Methods
public toArray()
Returns this model as an array.
SelectboxValue
The selectbox value model.
Namespace
Plenty\Modules\Flow\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
caption |
The name of the field |
|
value |
The label of the field |
|
translateCaption |
The option to translate caption, default value is true |
Methods
public toArray()
Returns this model as an array.
Definitions
Contracts
FilterDefinitionContract
Flow filter
Namespace
Plenty\Modules\Flow\Filters\Definitions\Contracts
Methods
public getIdentifier():string
public getName():string
public getDescription():string
public getUIConfigFields():array
public getRequiredInputTypes():array
public getOperators():array
public getAvailabilities():array
public performFilter($inputs, $filterField, $extraParams = []):bool
Name |
Type |
Description |
|
||
|
||
|
public searchCriteria():string
public searchCriteriaValue($value):void
Name |
Type |
Description |
|
public isSystemSpecific():bool
public addOperators($configForm, $key = "key"):Plenty\Modules\Flow\Contracts\UIConfigFormContract
Return type: UIConfigFormContract
Name |
Type |
Description |
|
||
|
public validateConfigFields($configFields):void
Name |
Type |
Description |
|
public validateInputs($inputs):void
Name |
Type |
Description |
|
public mapFilterFields($filterField):void
Name |
Type |
Description |
|
StepActionDefinitionContract
Flow step action
Namespace
Plenty\Modules\Flow\StepActions\Definitions\Contracts
Methods
public getIdentifier():string
public getPath():string
public getPathIcon():string
public getName():string
public getIcon():string
public getDescription():string
public getUIConfigFields():array
public getRequiredInputTypes():array
public getProvidedOutputTypes():array
public getTooltip():string
public isSystemSpecific():bool
public setWorkflowName($workflowName):void
Name |
Type |
Description |
|
public getWorkflowName():string
public setStepName($stepName):void
Name |
Type |
Description |
|
public getStepName():string
public performTask($inputs, $configFields, $filter = null, $extraParams = []):array
Name |
Type |
Description |
|
||
|
||
|
||
|
public validateConfigFields($configFields):void
Name |
Type |
Description |
|
public validateInputs($inputs):void
Name |
Type |
Description |
|
StepControlDefinitionContract
Flow step control
Namespace
Plenty\Modules\Flow\StepControls\Definitions\Contracts
Methods
public getIdentifier():string
public getName():string
public getDescription():string
public getIcon():string
public getType():string
public getTooltip():string
public getUIConfigFields():array
public getRequiredInputTypes():array
public getProvidedOutputTypes():array
public performTask($inputs, $configFields, $filterField = null):void
Name |
Type |
Description |
|
||
|
||
|
public setWorkflowName($workflowName):void
Name |
Type |
Description |
|
public getWorkflowName():string
public setStepName($stepName):void
Name |
Type |
Description |
|
public getStepName():string
public validateConfigFields($configFields):void
Name |
Type |
Description |
|
public validateInputs($inputs):void
Name |
Type |
Description |
|
FlowTriggerDefinitionContract
Flow trigger definition
Namespace
Plenty\Modules\Flow\Triggers\Definitions\Contracts
Methods
public getTriggerType():string
public getTriggerObject():string
public getTriggerIdentifier():string
public getTriggerName():string
public getTriggerDescription():string
public getTriggerPath():string
public getUIConfigField():array
public isSystemSpecific():bool
FlowTriggerPlentyDefinitionContract
Flow trigger plenty definition
Namespace
Plenty\Modules\Flow\Triggers\Definitions\Contracts
Methods
public getAreaName():string
public getAreaGroupName():string
public getTriggerType():string
public getTriggerObject():string
public getTriggerIdentifier():string
public getTriggerName():string
public getTriggerDescription():string
public getTriggerPath():string
public getUIConfigField():array
public isSystemSpecific():bool
FlowTriggerPluginDefinitionContract
Flow trigger plugin Definition
Namespace
Plenty\Modules\Flow\Triggers\Definitions\Contracts
Methods
public getPluginName():string
public getPluginGroupName():string
public getTriggerType():string
public getTriggerObject():string
public getTriggerIdentifier():string
public getTriggerName():string
public getTriggerDescription():string
public getTriggerPath():string
public getUIConfigField():array
public isSystemSpecific():bool
Containers
FlowTriggerDefinitionContainer
The FlowTriggerDefinitionContainer collects and returns multiple flow trigger definitions .
Namespace
Plenty\Modules\Flow\Triggers\Definitions\Containers
Methods
public getRegisteredTriggers():array
Retrieves all registered trigger definitions
public register($triggerDefinition):void
Register new flow trigger definition
Name |
Type |
Description |
|
public getTrigger($identifier):Plenty\Modules\Flow\Triggers\Definitions\Contracts\FlowTriggerDefinitionContract
Return type: FlowTriggerDefinitionContract
Retrieves a trigger definition
Name |
Type |
Description |
|