|
| init () |
|
| renderElementBlock (State $state, $inputName='discount_product', $multi=true) |
|
| renderSectionBlock (State $state, $inputName='discount_section', $multi=true) |
|
| renderSections (State $state, $inputName, $multi=true) |
|
| getSectionsFromConditions (array $conditions=null) |
|
| getProductsFromConditions (array $conditions=null) |
|
| generateSectionConditions ($sectionIds, $logic='Equal') |
|
| generateProductConditions ($productIds, $logic='Equal') |
|
| generateSectionActions ($sectionIds) |
|
| generateProductActions ($productIds) |
|
| generateProductsData ($productIds, $siteId) |
|
| validateSectionsAndProductsState (State $state, ErrorCollection $errorCollection) |
|
| getState () |
|
| isRunningPrevStep () |
|
| isDiscountEditing () |
|
| filterUserGroups (array $discountGroups) |
|
| normalizeDiscountFields (array $discountFields) |
|
| updateDiscount ($id, array $discountFields) |
|
| addDiscount (array $discountFields) |
|
| getUserGroupsByDiscount ($discountId) |
|
| getSiteList () |
|
| processShowInputNameInternal (State $state) |
|
| processSaveInputNameInternal (State $state, $nextStep) |
|
| processShowCommonSettingsInternal (State $state) |
|
| processSaveCommonSettingsInternal (State $state, $nextStep=self::FINAL_STEP) |
|
| getLabelDiscountValue () |
|
| renderDiscountValue (State $state, $currency) |
|
| getTypeOfDiscount () |
|
| getAllowableUserGroups () |
|
См. определение в файле selectproductpreset.php строка 15
◆ generateProductActions()
generateProductActions |
( |
| $productIds | ) |
|
|
protected |
◆ generateProductConditions()
generateProductConditions |
( |
| $productIds, |
|
|
| $logic = 'Equal' ) |
|
protected |
◆ generateProductsData()
generateProductsData |
( |
| $productIds, |
|
|
| $siteId ) |
|
protected |
◆ generateSectionActions()
generateSectionActions |
( |
| $sectionIds | ) |
|
|
protected |
◆ generateSectionConditions()
generateSectionConditions |
( |
| $sectionIds, |
|
|
| $logic = 'Equal' ) |
|
protected |
◆ getProductsFromConditions()
getProductsFromConditions |
( |
array | $conditions = null | ) |
|
|
protected |
◆ getSectionsFromConditions()
getSectionsFromConditions |
( |
array | $conditions = null | ) |
|
|
protected |
◆ init()
◆ renderElementBlock()
renderElementBlock |
( |
State | $state, |
|
|
| $inputName = 'discount_product', |
|
|
| $multi = true ) |
|
protected |
◆ renderSectionBlock()
renderSectionBlock |
( |
State | $state, |
|
|
| $inputName = 'discount_section', |
|
|
| $multi = true ) |
|
protected |
◆ renderSections()
renderSections |
( |
State | $state, |
|
|
| $inputName, |
|
|
| $multi = true ) |
|
protected |
◆ validateSectionsAndProductsState()