Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

SellPriceFormulaInformationElement Class Reference

Inheritance diagram for SellPriceFormulaInformationElement:
Element

Protected Member Functions

 renderControlNonEditable ()
 renderControlEditable ()
 renderNameDropDown ($model, $form, $inputNameIdPrefix, $attribute)
 renderDiscountOrMarkupPercentageTextField ($model, $form, $inputNameIdPrefix, $attribute)
 renderError ()
 registerScripts ()
 resolveInputDisplayStyle ($model)

Detailed Description

Definition at line 37 of file SellPriceFormulaInformationElement.php.


Member Function Documentation

renderControlNonEditable (  )  [protected]
Returns:
string

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

Returns:
A string containing the element's content.

Reimplemented from Element.

Definition at line 70 of file SellPriceFormulaInformationElement.php.

renderNameDropDown ( model,
form,
inputNameIdPrefix,
attribute 
) [protected]

Renders the Sell Price Formula Dropdown

Parameters:
RedBeanModel $model
Object $form
string $inputNameIdPrefix
string $attribute
Returns:
string

Definition at line 88 of file SellPriceFormulaInformationElement.php.

renderDiscountOrMarkupPercentageTextField ( model,
form,
inputNameIdPrefix,
attribute 
) [protected]

Renders discount text field

Parameters:
RedBeanModel $model
Object $form
string $inputNameIdPrefix
string $attribute
Returns:
string

Definition at line 113 of file SellPriceFormulaInformationElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error 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

Parameters:
RedBean $model
Returns:
string

Definition at line 164 of file SellPriceFormulaInformationElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:11:02 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8