BasePreset
AbstractYes
Table of Contents
Constants
- ACTION_TYPE_DISCOUNT = 'Discount'
- ACTION_TYPE_EXTRA = 'Extra'
- AVAILABLE_STATE_ALLOW = 0x1
- AVAILABLE_STATE_DISALLOW = 0x2
- AVAILABLE_STATE_TARIFF = 0x4
- FINAL_STEP = 'FINALSTEP'
- MODE_SAVE = 3
- MODE_SHOW = 2
- RUN_PREV_STEP_NAME_VAR = '__run_prev_step'
- STEP_NAME_VAR = '__next_step'
Methods
- __construct() : mixed
- beginForm() : mixed
- className() : string
- classShortName() : string
- enableRestrictedGroupsMode() : mixed
- endForm() : mixed
- exec() : mixed
- executeAjaxAction() : mixed
- generateDiscount() : array<string|int, mixed>
- generateState() : State
- getAvailableHelpLink() : array<string|int, mixed>|null
- getAvailableState() : int
- getCategory() : int
- getDescription() : string
- getDiscount() : array<string|int, mixed>
- getErrors() : array<string|int, Error>
- getExtendedDescription() : mixed
- getFirstStepName() : string
- getNextStep() : string
- getPossible() : bool
- getSort() : int
- Returns sort to sorting presets in category row.
- getStepDescription() : string
- getStepNumber() : mixed
- getStepTitle() : string
- getTitle() : string
- getView() : mixed
- hasErrors() : mixed
- hasPrevStep() : mixed
- isAvailable() : bool
- isLastStep() : mixed
- isRestrictedGroupsModeEnabled() : mixed
- processAjaxActionGetProductDetails() : mixed
- processShowFinalStep() : mixed
- setDiscount() : $this
- setNextStep() : $this
- setStepDescription() : $this
- setStepTitle() : mixed
Constants
ACTION_TYPE_DISCOUNT
public
mixed
ACTION_TYPE_DISCOUNT
= 'Discount'
ACTION_TYPE_EXTRA
public
mixed
ACTION_TYPE_EXTRA
= 'Extra'
AVAILABLE_STATE_ALLOW
public
mixed
AVAILABLE_STATE_ALLOW
= 0x1
AVAILABLE_STATE_DISALLOW
public
mixed
AVAILABLE_STATE_DISALLOW
= 0x2
AVAILABLE_STATE_TARIFF
public
mixed
AVAILABLE_STATE_TARIFF
= 0x4
FINAL_STEP
public
mixed
FINAL_STEP
= 'FINALSTEP'
MODE_SAVE
public
mixed
MODE_SAVE
= 3
MODE_SHOW
public
mixed
MODE_SHOW
= 2
RUN_PREV_STEP_NAME_VAR
public
mixed
RUN_PREV_STEP_NAME_VAR
= '__run_prev_step'
STEP_NAME_VAR
public
mixed
STEP_NAME_VAR
= '__next_step'
Methods
__construct()
public
__construct() : mixed
beginForm()
public
beginForm(State $state) : mixed
Parameters
- $state : State
className()
public
static className() : string
Return values
string —the fully qualified name of this class.
classShortName()
public
static classShortName(BasePreset $classObject) : string
Parameters
- $classObject : BasePreset
Return values
string —the short qualified name of this class.
enableRestrictedGroupsMode()
public
enableRestrictedGroupsMode(mixed $state) : mixed
Parameters
- $state : mixed
endForm()
public
endForm(State $state) : mixed
Parameters
- $state : State
exec()
public
exec() : mixed
executeAjaxAction()
public
executeAjaxAction(mixed $actionName) : mixed
Parameters
- $actionName : mixed
generateDiscount()
public
generateDiscount(State $state) : array<string|int, mixed>
Parameters
- $state : State
Return values
array<string|int, mixed> —Discount fields.
generateState()
public
generateState(array<string|int, mixed> $discountFields) : State
Parameters
- $discountFields : array<string|int, mixed>
Return values
State —$state
getAvailableHelpLink()
public
getAvailableHelpLink() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetAvailableState()
public
getAvailableState() : int
Return values
intgetCategory()
public
getCategory() : int
Return values
intgetDescription()
public
abstract getDescription() : string
Return values
stringgetDiscount()
public
getDiscount() : array<string|int, mixed>
Return values
array<string|int, mixed>getErrors()
public
getErrors() : array<string|int, Error>
Return values
array<string|int, Error>getExtendedDescription()
public
getExtendedDescription() : mixed
getFirstStepName()
public
abstract getFirstStepName() : string
Return values
stringgetNextStep()
public
getNextStep() : string
Return values
stringgetPossible()
public
getPossible() : bool
Return values
boolgetSort()
Returns sort to sorting presets in category row.
public
getSort() : int
Return values
intgetStepDescription()
public
getStepDescription() : string
Return values
stringgetStepNumber()
public
getStepNumber() : mixed
getStepTitle()
public
getStepTitle() : string
Return values
stringgetTitle()
public
abstract getTitle() : string
Return values
stringgetView()
public
getView() : mixed
hasErrors()
public
hasErrors() : mixed
hasPrevStep()
public
hasPrevStep() : mixed
isAvailable()
public
isAvailable() : bool
Tags
Return values
boolisLastStep()
public
isLastStep() : mixed
isRestrictedGroupsModeEnabled()
public
isRestrictedGroupsModeEnabled() : mixed
processAjaxActionGetProductDetails()
public
processAjaxActionGetProductDetails([array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $params : array<string|int, mixed> = []
processShowFinalStep()
public
processShowFinalStep(State $state) : mixed
Parameters
- $state : State
setDiscount()
public
setDiscount(array<string|int, mixed> $discount) : $this
Parameters
- $discount : array<string|int, mixed>
Return values
$thissetNextStep()
public
setNextStep(string $nextStep) : $this
Parameters
- $nextStep : string
Return values
$thissetStepDescription()
public
setStepDescription(string $stepDescription) : $this
Parameters
- $stepDescription : string
Return values
$thissetStepTitle()
public
setStepTitle(string $stepTitle) : mixed
Parameters
- $stepTitle : string