Protected Member Functions | |
renderControlNonEditable () | |
renderControlEditable () | |
renderNameDropDown ($model, $form, $inputNameIdPrefix, $attribute) | |
renderDiscountOrMarkupPercentageTextField ($model, $form, $inputNameIdPrefix, $attribute) | |
renderError () | |
registerScripts () | |
resolveInputDisplayStyle ($model) |
Definition at line 37 of file SellPriceFormulaInformationElement.php.
renderControlNonEditable | ( | ) | [protected] |
Reimplemented from Element.
Definition at line 42 of file SellPriceFormulaInformationElement.php.
renderControlEditable | ( | ) | [protected] |
Renders the editable sell price formula content. It consist of 2 items Name and discountOrMarkupPercentage where discountOrMarkupPercentage would be dependent on Name selected
Reimplemented from Element.
Definition at line 70 of file SellPriceFormulaInformationElement.php.
renderNameDropDown | ( | $ | model, | |
$ | form, | |||
$ | inputNameIdPrefix, | |||
$ | attribute | |||
) | [protected] |
Renders the Sell Price Formula Dropdown
RedBeanModel | $model | |
Object | $form | |
string | $inputNameIdPrefix | |
string | $attribute |
Definition at line 88 of file SellPriceFormulaInformationElement.php.
renderDiscountOrMarkupPercentageTextField | ( | $ | model, | |
$ | form, | |||
$ | inputNameIdPrefix, | |||
$ | attribute | |||
) | [protected] |
Renders discount text field
RedBeanModel | $model | |
Object | $form | |
string | $inputNameIdPrefix | |
string | $attribute |
Definition at line 113 of file SellPriceFormulaInformationElement.php.
renderError | ( | ) | [protected] |
Generate the error content. Used by editable content
Reimplemented from Element.
Definition at line 128 of file SellPriceFormulaInformationElement.php.
registerScripts | ( | ) | [protected] |
Registers the script required on usage of sell price formula
Definition at line 135 of file SellPriceFormulaInformationElement.php.
resolveInputDisplayStyle | ( | $ | model | ) | [protected] |
Resolves input display style
RedBean | $model |
Definition at line 164 of file SellPriceFormulaInformationElement.php.