SellPriceFormula Class Reference

Inheritance diagram for SellPriceFormula:
OwnedModel RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static getDefaultMetadata ()
static isTypeDeletable ()
static canSaveMetadata ()
static getTypeDropDownArray ()
static getDisplayedSellPriceFormulaArray ()
static getModuleClassName ()
static getAttributeToReportListViewColumnAdapterClassName ($attribute)

Data Fields

const TYPE_EDITABLE = 1
const TYPE_PROFIT_MARGIN = 2
const TYPE_MARKUP_OVER_COST = 3
const TYPE_DISCOUNT_FROM_LIST = 4
const TYPE_SAME_AS_LIST = 5

Detailed Description

Definition at line 37 of file SellPriceFormula.php.


Member Function Documentation

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 55 of file SellPriceFormula.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from RedBeanModel.

Definition at line 67 of file SellPriceFormula.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from OwnedModel.

Definition at line 96 of file SellPriceFormula.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 104 of file SellPriceFormula.php.

static getTypeDropDownArray (  )  [static]
Returns:
array of sellpriceformula values and labels

Definition at line 112 of file SellPriceFormula.php.

static getDisplayedSellPriceFormulaArray (  )  [static]
Returns:
array of sellprice formula displayable labels and values

Definition at line 126 of file SellPriceFormula.php.

static getModuleClassName (  )  [static]
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 140 of file SellPriceFormula.php.

static getAttributeToReportListViewColumnAdapterClassName ( attribute  )  [static]

Gets the report list view column adapater class name

Parameters:
string $attribute
Returns:
string or null value

Definition at line 150 of file SellPriceFormula.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:30 2017